mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
feat(native-buttons): set arbitrary offset for traffic light
This commit is contained in:
@@ -63,8 +63,12 @@ function initTitleBarButtons() {
|
||||
const symbolColor = style.getPropertyValue("--native-titlebar-foreground");
|
||||
|
||||
if (color && symbolColor) {
|
||||
currentWindow.setTitleBarOverlay({ color, symbolColor });
|
||||
// FIXME, do this only on windows
|
||||
// currentWindow.setTitleBarOverlay({ color, symbolColor });
|
||||
}
|
||||
|
||||
// FIXME: call only on darwin
|
||||
currentWindow.setWindowButtonPosition({ x: 20, y: 20 });
|
||||
}
|
||||
|
||||
// Update the native title bar buttons.
|
||||
|
||||
Reference in New Issue
Block a user