File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/editor/contrib/colorPicker/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { ColorPickerModel } from 'vs/editor/contrib/colorPicker/browser/colorPic
15
15
import { IEditorHoverColorPickerWidget } from 'vs/editor/contrib/hover/browser/hoverTypes' ;
16
16
import { localize } from 'vs/nls' ;
17
17
import { editorHoverBackground } from 'vs/platform/theme/common/colorRegistry' ;
18
- import { IThemeService , registerThemingParticipant } from 'vs/platform/theme/common/themeService' ;
18
+ import { IThemeService } from 'vs/platform/theme/common/themeService' ;
19
19
20
20
const $ = dom . $ ;
21
21
@@ -40,7 +40,7 @@ export class ColorPickerHeader extends Disposable {
40
40
colorBox . style . backgroundColor = Color . Format . CSS . format ( this . model . originalColor ) || '' ;
41
41
42
42
this . backgroundColor = themeService . getColorTheme ( ) . getColor ( editorHoverBackground ) || Color . white ;
43
- this . _register ( registerThemingParticipant ( ( theme , collector ) => {
43
+ this . _register ( themeService . onDidColorThemeChange ( theme => {
44
44
this . backgroundColor = theme . getColor ( editorHoverBackground ) || Color . white ;
45
45
} ) ) ;
46
46
You can’t perform that action at this time.
0 commit comments