完善客户端模块与工作区能力
This commit is contained in:
@@ -258,7 +258,11 @@ function createWindow(): BrowserWindow {
|
||||
sandbox: false,
|
||||
webviewTag: false,
|
||||
},
|
||||
titleBarStyle: isMac ? 'hiddenInset' : useCustomTitleBar ? 'hidden' : 'default',
|
||||
// `hiddenInset` leaves a native top inset in the renderer viewport. That
|
||||
// makes a full-height Canvas look like it has an extra horizontal bar and
|
||||
// clips the top of the columns. `hidden` keeps the traffic lights while
|
||||
// giving the renderer the full window bounds.
|
||||
titleBarStyle: isMac ? 'hidden' : useCustomTitleBar ? 'hidden' : 'default',
|
||||
// Keep the native traffic lights on the same centerline as the 40px
|
||||
// renderer title bar. The native glyphs sit about 7px below the
|
||||
// configured origin, so y=13 centers them on the renderer controls.
|
||||
|
||||
Reference in New Issue
Block a user