Skip to content

Commit 30f9298

Browse files
authored
Restore normal titlebar on Linux. (#1460)
1 parent c958629 commit 30f9298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-electron/ui/window.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function windowCreate(port, args) {
128128
title: args?.filePath == null ? menu.newConfiguration : args?.filePath,
129129
useContentSize: true,
130130
webPreferences: webPreferences,
131-
titleBarStyle: process.platform === 'win32' ? 'default' : 'hidden',
131+
titleBarStyle: process.platform === 'darwin' ? 'hidden' : 'default',
132132
trafficLightPosition: { x: 15, y: 20 },
133133
titleBarOverlay: {
134134
color: '#F4F4F4',

0 commit comments

Comments
 (0)