From 9b2445db483a7a7595d0b910db25d907c45e2228 Mon Sep 17 00:00:00 2001 From: Ghost <31184695+GHOSCHT@users.noreply.github.com> Date: Wed, 5 Aug 2020 19:34:46 +0200 Subject: [PATCH] Change variable name --- Dashboard/app/main/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dashboard/app/main/index.js b/Dashboard/app/main/index.js index 3a80ff2..1e26abe 100644 --- a/Dashboard/app/main/index.js +++ b/Dashboard/app/main/index.js @@ -9,7 +9,7 @@ const gotTheLock = app.requestSingleInstanceLock(); app.allowRendererProcessReuse = false; const windowSize = { width: 620, height: 320 }; -const taskBarHeight = 40; +const windowOffset = 40; const appIconPath = '../../dist-assets/icon2.ico'; const trayIconPath = '../../dist-assets/tray.ico'; @@ -47,7 +47,7 @@ if (!gotTheLock) { width: windowSize.width, height: windowSize.height, x: screenz.width - windowSize.width, - y: screenz.height - windowSize.height - taskBarHeight, + y: screenz.height - windowSize.height - windowOffset, movable: false, resizable: false, frame: false,