fix(desktop): restore compact Windows titlebar spacing (#45397)

This commit is contained in:
Luke Parker
2026-08-27 08:18:05 +10:00
committed by GitHub
Unverified
parent 767115cd69
commit 954cdc7bc8
9 changed files with 22 additions and 12 deletions
@@ -17,7 +17,8 @@ const oc2Background = {
}
const titlebarThemes = new WeakMap<BrowserWindow, Partial<TitlebarTheme>>()
const pinchZoomEnabled = new WeakMap<BrowserWindow, boolean>()
const titlebarHeight = 40
// Match the renderer's 36px titlebar plus its former 8px content inset.
const titlebarHeight = 44
const maxZoomLevel = 10
const minZoomLevel = 0.2
let backgroundColor: string | undefined