set window height and width to be integers

This commit is contained in:
buzz-lightsnack-2007 2024-04-28 23:55:28 +08:00
parent 78ae0d75b5
commit 44bca4adaa

View file

@ -2,7 +2,7 @@ import Window from "/scripts/GUI/window.js";
export default class ManagedWindow {
constructor () {
this.instance = new Window("/pages/popup.htm", {"width": "500", "height": "500", "type": "popup", "hidden": true});
this.instance = new Window("/pages/popup.htm", {"width": 500, "height": 500, "type": "popup", "hidden": true});
}
/*