Skip to content

Commit 7a4a4de

Browse files
committed
New window uses old theme. Fixes microsoft#84539
1 parent 655df8f commit 7a4a4de

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/vs/workbench/contrib/splash/electron-browser/partsSplash.contribution.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ class PartsSplash {
6060
if (e.affectsConfiguration('window.titleBarStyle')) {
6161
this._didChangeTitleBarStyle = true;
6262
this._savePartsSplash();
63-
} else if (e.affectsConfiguration('workbench.colorTheme') || e.affectsConfiguration('workbench.colorCustomizations')) {
64-
this._savePartsSplash();
6563
}
6664
}, this, this._disposables);
65+
66+
_themeService.onThemeChange(_ => {
67+
this._savePartsSplash();
68+
}, this, this._disposables);
6769
}
6870

6971
dispose(): void {

0 commit comments

Comments
 (0)