Skip to content

Commit cc3a135

Browse files
committed
1 parent 39199e8 commit cc3a135

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ export class StandaloneThemeServiceImpl implements IStandaloneThemeService {
216216
} else {
217217
theme = this._knownThemes.get(VS_THEME_NAME);
218218
}
219+
if (this._theme === theme) {
220+
// Nothing to do
221+
return theme.id;
222+
}
219223
this._theme = theme;
220224

221225
let cssRules: string[] = [];

0 commit comments

Comments
 (0)