Skip to content

Commit 5f4dc29

Browse files
authored
typo fix (#3551)
1 parent c690e04 commit 5f4dc29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flixel/graphics/atlas/FlxAtlas.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class FlxAtlas implements IFlxDestroyable
142142
this.minWidth = Std.int(minSize.x);
143143
this.minHeight = Std.int(minSize.y);
144144
this.maxWidth = (maxSize.x > minSize.x) ? Std.int(maxSize.x) : minWidth;
145-
this.maxHeight = (maxSize.y > minSize.x) ? Std.int(maxSize.y) : minHeight;
145+
this.maxHeight = (maxSize.y > minSize.y) ? Std.int(maxSize.y) : minHeight;
146146
this.allowRotation = rotate;
147147

148148
initRoot();

0 commit comments

Comments
 (0)