Skip to content

Commit 7bea16d

Browse files
committed
Fix width of window
1 parent 638c264 commit 7bea16d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/backend/app.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ class App {
6161
}
6262

6363
createWindow() {
64+
const baseWidth = 800
65+
6466
const win = new BrowserWindow({
65-
width: os.platform() === 'darwin' ? 800 : 834,
67+
width: baseWidth + (os.platform() === 'darwin' ? 15 : 34),
6668
height: 600,
6769
minWidth: 540,
6870
// titleBarStyle: 'hidden',

0 commit comments

Comments
 (0)