From de07a10c3f67900892f959619e36f51a65353825 Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Thu, 18 Apr 2019 08:31:32 +0900 Subject: [PATCH] offset --- app/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/main.js b/app/main.js index f518a62..601f062 100644 --- a/app/main.js +++ b/app/main.js @@ -141,13 +141,13 @@ function createView() { mainWindow.setBrowserView(mainView); - const toolbarHeight = 40; + const offsetY = 440; const windowBounds = mainWindow.getBounds(); mainView.setBounds({ x: 0, - y: toolbarHeight, + y: offsetY, width: windowBounds.width, - height: windowBounds.height - toolbarHeight + height: windowBounds.height - offsetY }); mainView.setAutoResize({ -- GitLab