Skip to content

Commit 1cc52ae

Browse files
authored
Fix broken Not Synced indicator (microsoft#154381)
Fixes microsoft#154379
1 parent 755d39f commit 1cc52ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ export class SettingsTreeIndicatorsLabel implements IDisposable {
5151
this.indicatorsContainerElement = DOM.append(container, $('.misc-label'));
5252
this.indicatorsContainerElement.style.display = 'inline';
5353

54-
const scopeOverridesIndicator = this.createScopeOverridesIndicator();
55-
this.scopeOverridesElement = scopeOverridesIndicator.element;
56-
this.scopeOverridesLabel = scopeOverridesIndicator.label;
57-
this.syncIgnoredElement = this.createSyncIgnoredElement();
58-
this.defaultOverrideIndicatorElement = this.createDefaultOverrideIndicator();
59-
6054
this.hoverDelegate = {
6155
showHover: (options: IHoverDelegateOptions, focus?: boolean) => {
6256
return hoverService.showHover(options, focus);
@@ -65,6 +59,12 @@ export class SettingsTreeIndicatorsLabel implements IDisposable {
6559
delay: configurationService.getValue<number>('workbench.hover.delay'),
6660
placement: 'element'
6761
};
62+
63+
const scopeOverridesIndicator = this.createScopeOverridesIndicator();
64+
this.scopeOverridesElement = scopeOverridesIndicator.element;
65+
this.scopeOverridesLabel = scopeOverridesIndicator.label;
66+
this.syncIgnoredElement = this.createSyncIgnoredElement();
67+
this.defaultOverrideIndicatorElement = this.createDefaultOverrideIndicator();
6868
}
6969

7070
private createScopeOverridesIndicator(): { element: HTMLElement; label: SimpleIconLabel } {

0 commit comments

Comments
 (0)