aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-29 23:07:07 +0100
committer0neGal <mail@0negal.com>2021-12-29 23:07:07 +0100
commit77725b8944d32c4b3a8033a74be1f029fcb9651f (patch)
treeb0eda71baabc553ec156d3adb25b48e72bfb4002
parentc4f2a15a05ed8821009f88be8a93d71ed1da3d81 (diff)
downloadViper-77725b8944d32c4b3a8033a74be1f029fcb9651f.tar.gz
Viper-77725b8944d32c4b3a8033a74be1f029fcb9651f.zip
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...
-rw-r--r--src/index.js6
1 files changed, 3 insertions, 3 deletions
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,