Shift titlebar on Windows 11

This commit is contained in:
Fedor Indutny
2022-06-23 08:40:36 -07:00
committed by GitHub
parent 9e16b06b65
commit 6ad091bfe3
7 changed files with 24 additions and 21 deletions

View File

@@ -636,9 +636,8 @@ async function getTitleBarOverlay(): Promise<TitleBarOverlayOptions | false> {
color,
symbolColor,
// Should match stylesheets/components/TitleBarContainer.scss minus the
// border
height: (OS.isWindows11() ? 29 : 28) - 1,
// Should match stylesheets/components/TitleBarContainer.scss
height: 28,
};
}