Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Nov 12, 2018
1 parent 6a64c39 commit 58dce48
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ export class StandaloneThemeServiceImpl implements IStandaloneThemeService {
} else {
theme = this._knownThemes.get(VS_THEME_NAME);
}
if (this._theme === theme) {
// Nothing to do
return theme.id;
}
this._theme = theme;

let cssRules: string[] = [];
Expand Down

0 comments on commit 58dce48

Please sign in to comment.