mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-11 13:43:20 +01:00
fix WCO color updates with high contrast themes (#155886)
fixes #150098
This commit is contained in:
@@ -219,8 +219,8 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
||||
const window = this.windowById(windowId);
|
||||
if (window?.win) {
|
||||
window.win.setTitleBarOverlay({
|
||||
color: options.backgroundColor,
|
||||
symbolColor: options.foregroundColor,
|
||||
color: options.backgroundColor?.trim() === '' ? undefined : options.backgroundColor,
|
||||
symbolColor: options.foregroundColor?.trim() === '' ? undefined : options.foregroundColor,
|
||||
height: options.height ? options.height - 1 : undefined // account for window border
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user