Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsidor Nikolic <inikolic@microsoft.com>2019-12-11 00:16:00 +0300
committerSteVen Batten <6561887+sbatten@users.noreply.github.com>2019-12-11 00:16:00 +0300
commit9579eda04fdb3a9bba2750f15193e5fafe16b959 (patch)
treece897e4a714f4339e33cf45835cf38cabb2d7cc6
parent3075787d3c58a10ab46471598c4de2f26512feaf (diff)
Tree Guide Indents not showing in latest Insiders (#86675)1.41.0
#86662
-rw-r--r--src/vs/platform/list/browser/listService.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vs/platform/list/browser/listService.ts b/src/vs/platform/list/browser/listService.ts
index 20235f709c7..77dbbdd54cf 100644
--- a/src/vs/platform/list/browser/listService.ts
+++ b/src/vs/platform/list/browser/listService.ts
@@ -22,7 +22,7 @@ import { IEditorOptions } from 'vs/platform/editor/common/editor';
import { createDecorator, IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
import { Registry } from 'vs/platform/registry/common/platform';
-import { attachListStyler, computeStyles, defaultListStyles, IColorMapping, attachStyler } from 'vs/platform/theme/common/styler';
+import { attachListStyler, computeStyles, defaultListStyles, IColorMapping } from 'vs/platform/theme/common/styler';
import { IThemeService } from 'vs/platform/theme/common/themeService';
import { InputFocusedContextKey } from 'vs/platform/contextkey/common/contextkeys';
import { ObjectTree, IObjectTreeOptions, ICompressibleTreeRenderer, CompressibleObjectTree, ICompressibleObjectTreeOptions } from 'vs/base/browser/ui/tree/objectTree';
@@ -287,7 +287,7 @@ export class WorkbenchList<T> extends List<T> {
this.disposables.add((listService as ListService).register(this));
if (options.overrideStyles) {
- this.disposables.add(attachStyler(themeService, options.overrideStyles, this));
+ this.disposables.add(attachListStyler(this, themeService, options.overrideStyles));
}
this.disposables.add(this.onSelectionChange(() => {
@@ -368,7 +368,7 @@ export class WorkbenchPagedList<T> extends PagedList<T> {
this.disposables.add((listService as ListService).register(this));
if (options.overrideStyles) {
- this.disposables.add(attachStyler(themeService, options.overrideStyles, this));
+ this.disposables.add(attachListStyler(this, themeService, options.overrideStyles));
}
this.registerListeners();
@@ -1044,7 +1044,7 @@ class WorkbenchTreeInternals<TInput, T, TFilterData> {
this.disposables.push(
this.contextKeyService,
(listService as ListService).register(tree),
- overrideStyles ? attachStyler(themeService, overrideStyles, tree) : Disposable.None,
+ overrideStyles ? attachListStyler(tree, themeService, overrideStyles) : Disposable.None,
tree.onDidChangeSelection(() => {
const selection = tree.getSelection();
const focus = tree.getFocus();