From 77725b8944d32c4b3a8033a74be1f029fcb9651f Mon Sep 17 00:00:00 2001 From: 0neGal Date: Wed, 29 Dec 2021 23:07:07 +0100 Subject: fix width being set to wrong value Apparently I'm dumb and when I did this I read what it was on by default when making the `width` variable, when doing so I accidentally read the height's value (115), compared to the width (600), I don't know how I managed to do this, I'm dumb... --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 74f776c..aacfe27 100644 --- a/src/index.js +++ b/src/index.js @@ -9,10 +9,10 @@ const utils = require("./utils"); const cli = require("./cli"); function start() { - let width = 115; + let width = 600; win = new BrowserWindow({ - width: 600, - height: width, + width: width, + height: 115, show: false, title: "Viper", resizable: false, -- cgit v1.2.3