Skip to content

Commit

Permalink
Honour centeDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Shallowmallow committed Feb 18, 2024
1 parent 0b0731b commit 418e98c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion haxe/ui/backend/DialogBase.hx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ class DialogBase extends Box implements Draggable {
}
Toolkit.callLater(function() {
handleVisibility(true);
centerDialogComponent(cast(this, Dialog));
if (centerDialog) {
centerDialogComponent(cast(this, Dialog));
}
_forcedLeft = null;
_forcedTop = null;
if (autoCenterDialog) {
Expand Down

0 comments on commit 418e98c

Please sign in to comment.