@@ -22,7 +22,7 @@ import { IEditorOptions } from 'vs/platform/editor/common/editor';
22
22
import { createDecorator , IInstantiationService } from 'vs/platform/instantiation/common/instantiation' ;
23
23
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding' ;
24
24
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' ;
26
26
import { IThemeService } from 'vs/platform/theme/common/themeService' ;
27
27
import { InputFocusedContextKey } from 'vs/platform/contextkey/common/contextkeys' ;
28
28
import { ObjectTree , IObjectTreeOptions , ICompressibleTreeRenderer , CompressibleObjectTree , ICompressibleObjectTreeOptions } from 'vs/base/browser/ui/tree/objectTree' ;
@@ -287,7 +287,7 @@ export class WorkbenchList<T> extends List<T> {
287
287
this . disposables . add ( ( listService as ListService ) . register ( this ) ) ;
288
288
289
289
if ( options . overrideStyles ) {
290
- this . disposables . add ( attachStyler ( themeService , options . overrideStyles , this ) ) ;
290
+ this . disposables . add ( attachListStyler ( this , themeService , options . overrideStyles ) ) ;
291
291
}
292
292
293
293
this . disposables . add ( this . onSelectionChange ( ( ) => {
@@ -368,7 +368,7 @@ export class WorkbenchPagedList<T> extends PagedList<T> {
368
368
this . disposables . add ( ( listService as ListService ) . register ( this ) ) ;
369
369
370
370
if ( options . overrideStyles ) {
371
- this . disposables . add ( attachStyler ( themeService , options . overrideStyles , this ) ) ;
371
+ this . disposables . add ( attachListStyler ( this , themeService , options . overrideStyles ) ) ;
372
372
}
373
373
374
374
this . registerListeners ( ) ;
@@ -1044,7 +1044,7 @@ class WorkbenchTreeInternals<TInput, T, TFilterData> {
1044
1044
this . disposables . push (
1045
1045
this . contextKeyService ,
1046
1046
( listService as ListService ) . register ( tree ) ,
1047
- overrideStyles ? attachStyler ( themeService , overrideStyles , tree ) : Disposable . None ,
1047
+ overrideStyles ? attachListStyler ( tree , themeService , overrideStyles ) : Disposable . None ,
1048
1048
tree . onDidChangeSelection ( ( ) => {
1049
1049
const selection = tree . getSelection ( ) ;
1050
1050
const focus = tree . getFocus ( ) ;
0 commit comments