Skip to content

Commit

Permalink
reposition window after it resizes, incase we are out of bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Sep 16, 2024
1 parent a4bea51 commit 0ff1929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flixel/system/debug/watch/Watch.hx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class Watch extends Window
resetEntries();
minSize.setTo(getMaxMinWidth() + entriesContainerOffset.x, entriesContainer.height + entriesContainerOffset.y);
super.updateSize();
reposition(x, y);
}

function resetEntries():Void
Expand Down

0 comments on commit 0ff1929

Please sign in to comment.