From 44bca4adaab0625cde59e30a4ddff6938e0467a4 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sun, 28 Apr 2024 23:55:28 +0800 Subject: [PATCH] set window height and width to be integers --- scripts/GUI/entrypoints/ManagedWindow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/GUI/entrypoints/ManagedWindow.js b/scripts/GUI/entrypoints/ManagedWindow.js index 979f043..5d759a7 100644 --- a/scripts/GUI/entrypoints/ManagedWindow.js +++ b/scripts/GUI/entrypoints/ManagedWindow.js @@ -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}); } /*