We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f219c commit 0c6aa3eCopy full SHA for 0c6aa3e
usergui.js
@@ -351,8 +351,8 @@ class UserGui {
351
const guiWidth = this.settings.window.size.width;
352
const guiHeight = this.settings.window.size.height;
353
354
- const x = (screen.width / 2) - (guiWidth / 2);
355
- const y = (screen.height / 2) - (guiHeight / 2);
+ const x = (screen.width - guiWidth) / 2;
+ const y = (screen.height - guiHeight) / 2;
356
357
return { "x" : x, "y": y };
358
}
0 commit comments