We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c690e04 commit 5f4dc29Copy full SHA for 5f4dc29
flixel/graphics/atlas/FlxAtlas.hx
@@ -142,7 +142,7 @@ class FlxAtlas implements IFlxDestroyable
142
this.minWidth = Std.int(minSize.x);
143
this.minHeight = Std.int(minSize.y);
144
this.maxWidth = (maxSize.x > minSize.x) ? Std.int(maxSize.x) : minWidth;
145
- this.maxHeight = (maxSize.y > minSize.x) ? Std.int(maxSize.y) : minHeight;
+ this.maxHeight = (maxSize.y > minSize.y) ? Std.int(maxSize.y) : minHeight;
146
this.allowRotation = rotate;
147
148
initRoot();
0 commit comments