Skip to content

Commit 9579eda

Browse files
isidornsbatten
authored andcommitted
Tree Guide Indents not showing in latest Insiders (#86675)
#86662
1 parent 3075787 commit 9579eda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/platform/list/browser/listService.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { IEditorOptions } from 'vs/platform/editor/common/editor';
2222
import { createDecorator, IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
2323
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
2424
import { Registry } from 'vs/platform/registry/common/platform';
25-
import { attachListStyler, computeStyles, defaultListStyles, IColorMapping, attachStyler } from 'vs/platform/theme/common/styler';
25+
import { attachListStyler, computeStyles, defaultListStyles, IColorMapping } from 'vs/platform/theme/common/styler';
2626
import { IThemeService } from 'vs/platform/theme/common/themeService';
2727
import { InputFocusedContextKey } from 'vs/platform/contextkey/common/contextkeys';
2828
import { ObjectTree, IObjectTreeOptions, ICompressibleTreeRenderer, CompressibleObjectTree, ICompressibleObjectTreeOptions } from 'vs/base/browser/ui/tree/objectTree';
@@ -287,7 +287,7 @@ export class WorkbenchList<T> extends List<T> {
287287
this.disposables.add((listService as ListService).register(this));
288288

289289
if (options.overrideStyles) {
290-
this.disposables.add(attachStyler(themeService, options.overrideStyles, this));
290+
this.disposables.add(attachListStyler(this, themeService, options.overrideStyles));
291291
}
292292

293293
this.disposables.add(this.onSelectionChange(() => {
@@ -368,7 +368,7 @@ export class WorkbenchPagedList<T> extends PagedList<T> {
368368
this.disposables.add((listService as ListService).register(this));
369369

370370
if (options.overrideStyles) {
371-
this.disposables.add(attachStyler(themeService, options.overrideStyles, this));
371+
this.disposables.add(attachListStyler(this, themeService, options.overrideStyles));
372372
}
373373

374374
this.registerListeners();
@@ -1044,7 +1044,7 @@ class WorkbenchTreeInternals<TInput, T, TFilterData> {
10441044
this.disposables.push(
10451045
this.contextKeyService,
10461046
(listService as ListService).register(tree),
1047-
overrideStyles ? attachStyler(themeService, overrideStyles, tree) : Disposable.None,
1047+
overrideStyles ? attachListStyler(tree, themeService, overrideStyles) : Disposable.None,
10481048
tree.onDidChangeSelection(() => {
10491049
const selection = tree.getSelection();
10501050
const focus = tree.getFocus();

0 commit comments

Comments
 (0)