@@ -27,8 +27,7 @@ import { ViewContext } from 'vs/editor/common/viewModel/viewContext';
27
27
import { EditorTheme } from 'vs/editor/common/editorTheme' ;
28
28
import * as viewEvents from 'vs/editor/common/viewEvents' ;
29
29
import { ViewLineData , ViewModelDecoration } from 'vs/editor/common/viewModel' ;
30
- import { minimapSelection , scrollbarShadow , minimapBackground , minimapSliderBackground , minimapSliderHoverBackground , minimapSliderActiveBackground , minimapForegroundOpacity } from 'vs/platform/theme/common/colorRegistry' ;
31
- import { registerThemingParticipant } from 'vs/platform/theme/common/themeService' ;
30
+ import { minimapSelection , minimapBackground , minimapForegroundOpacity } from 'vs/platform/theme/common/colorRegistry' ;
32
31
import { ModelDecorationMinimapOptions } from 'vs/editor/common/model/textModel' ;
33
32
import { Selection } from 'vs/editor/common/core/selection' ;
34
33
import { Color } from 'vs/base/common/color' ;
@@ -2000,21 +1999,3 @@ class ContiguousLineMap<T> {
2000
1999
}
2001
2000
}
2002
2001
2003
- registerThemingParticipant ( ( theme , collector ) => {
2004
- const sliderBackground = theme . getColor ( minimapSliderBackground ) ;
2005
- if ( sliderBackground ) {
2006
- collector . addRule ( `.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${ sliderBackground } ; }` ) ;
2007
- }
2008
- const sliderHoverBackground = theme . getColor ( minimapSliderHoverBackground ) ;
2009
- if ( sliderHoverBackground ) {
2010
- collector . addRule ( `.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${ sliderHoverBackground } ; }` ) ;
2011
- }
2012
- const sliderActiveBackground = theme . getColor ( minimapSliderActiveBackground ) ;
2013
- if ( sliderActiveBackground ) {
2014
- collector . addRule ( `.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${ sliderActiveBackground } ; }` ) ;
2015
- }
2016
- const shadow = theme . getColor ( scrollbarShadow ) ;
2017
- if ( shadow ) {
2018
- collector . addRule ( `.monaco-editor .minimap-shadow-visible { box-shadow: ${ shadow } -6px 0 6px -6px inset; }` ) ;
2019
- }
2020
- } ) ;
0 commit comments