Skip to content

Commit

Permalink
Fix width of window
Browse files Browse the repository at this point in the history
  • Loading branch information
meowtec committed May 14, 2018
1 parent 638c264 commit 7bea16d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/backend/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ class App {
}

createWindow() {
const baseWidth = 800

const win = new BrowserWindow({
width: os.platform() === 'darwin' ? 800 : 834,
width: baseWidth + (os.platform() === 'darwin' ? 15 : 34),
height: 600,
minWidth: 540,
// titleBarStyle: 'hidden',
Expand Down

0 comments on commit 7bea16d

Please sign in to comment.