From 8381d09384098f30ad3c8543d8b18b9d088b704e Mon Sep 17 00:00:00 2001 From: Tomohiro Suwa Date: Thu, 18 May 2017 01:05:38 +0900 Subject: [PATCH] Change titleBarStyle to hidden --- src/browser/MainWindow.js | 1 + src/renderer/components/LiveViewer/Header/Header.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/MainWindow.js b/src/browser/MainWindow.js index 40a32da..737c3a7 100644 --- a/src/browser/MainWindow.js +++ b/src/browser/MainWindow.js @@ -8,6 +8,7 @@ export default class MainWindow { const windowState = windowStateKeeper(); this.window = new BrowserWindow({ + titleBarStyle: 'hidden', minWidth: 600, minHeight: 400, webPreferences: { diff --git a/src/renderer/components/LiveViewer/Header/Header.css b/src/renderer/components/LiveViewer/Header/Header.css index 1ddbd0d..9746a76 100644 --- a/src/renderer/components/LiveViewer/Header/Header.css +++ b/src/renderer/components/LiveViewer/Header/Header.css @@ -2,7 +2,7 @@ display: flex; align-items: center; background: #0F0F0F; - margin-left: 20px; + margin-left: 60px; height: 50px; -webkit-app-region: drag; }