mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
feat(native-buttons): set arbitrary offset for traffic light
This commit is contained in:
@@ -115,7 +115,7 @@ async function createMainWindow(app: App) {
|
||||
function getWindowExtraOpts() {
|
||||
const extraOpts: Partial<BrowserWindowConstructorOptions> = {};
|
||||
if (!optionService.getOptionBool('nativeTitleBarVisible')) {
|
||||
extraOpts.titleBarStyle = "hidden";
|
||||
extraOpts.titleBarStyle = (process.platform !== "darwin" ? "hidden" : "hiddenInset");
|
||||
extraOpts.titleBarOverlay = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user