mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
fix(native-buttons): regressions on mac
This commit is contained in:
@@ -66,7 +66,6 @@ function initTitleBarButtons() {
|
||||
currentWindow.setTitleBarOverlay({ color, symbolColor });
|
||||
}
|
||||
|
||||
// FIXME: call only on darwin
|
||||
if (window.glob.platform === "darwin") {
|
||||
const xOffset = parseInt(style.getPropertyValue("--native-titlebar-darwin-x-offset"), 10);
|
||||
const yOffset = parseInt(style.getPropertyValue("--native-titlebar-darwin-y-offset"), 10);
|
||||
|
||||
Reference in New Issue
Block a user