Repository navigation
feat: enable wco on macOS - #239666
feat: enable wco on macOS#239666
Conversation
There was a problem hiding this comment.
I am searching through our code to understand where we depend on window.*overlay or WCO and I think in each case we need to revisit what this means for macOS:
-
vscode/src/vs/workbench/browser/layout.ts
Line 583 in 013ebea
-
vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
Lines 492 to 494 in 013ebea
-
vscode/src/vs/workbench/electron-sandbox/parts/titlebar/titlebarPart.ts
Lines 237 to 238 in 013ebea
-
vscode/src/vs/workbench/services/layout/browser/layoutService.ts
Lines 365 to 368 in 013ebea
-
Line 137 in 013ebea
-
vscode/src/vs/base/browser/browser.ts
Line 113 in 013ebea
-
vscode/src/vs/workbench/browser/layout.ts
Line 583 in 013ebea
Starting PR to see if we can unify the use of
navigator.windowControlsOverlayacross platform.The traffic lights are controlled similar to
titlebarStyle: 'hidden'mode, instead of callingsetTitleBarOverlaywe adjust the height viasetWindowButtonPosition. Color and symbol color does not apply to traffic lights.