提交 cf41bc07 编写于 作者: M Martin Aeschlimann

Red Theme no longer applies fully. Fixes #19344

上级 81999809
......@@ -63,9 +63,9 @@ class Theme {
constructor(private themeId: string, themeSettings: IThemeSetting[]) {
this.selector = `${getBaseThemeId(themeId)}.${getSyntaxThemeId(themeId)}`;
this.settings = themeSettings;
let settings = this.settings[0];
if (!settings.scope) {
this.globalSettings = settings.settings;
let globalSettings = this.settings.filter(s => !s.scope);
if (globalSettings.length > 0) {
this.globalSettings = globalSettings[0].settings;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册