@@ -26,7 +26,7 @@ export class ColorPickerHeader extends Disposable {
26
26
27
27
private readonly _domNode : HTMLElement ;
28
28
private readonly _pickedColorNode : HTMLElement ;
29
- private readonly _pickedColorRepresentation : HTMLElement ;
29
+ private readonly _pickedColorPresentation : HTMLElement ;
30
30
private readonly _originalColorNode : HTMLElement ;
31
31
private readonly _closeButton : CloseButton | null = null ;
32
32
private backgroundColor : Color ;
@@ -38,8 +38,8 @@ export class ColorPickerHeader extends Disposable {
38
38
dom . append ( container , this . _domNode ) ;
39
39
40
40
this . _pickedColorNode = dom . append ( this . _domNode , $ ( '.picked-color' ) ) ;
41
- this . _pickedColorRepresentation = dom . append ( this . _pickedColorNode , document . createElement ( 'div' ) ) ;
42
- this . _pickedColorRepresentation . classList . add ( 'picked-color-representation ' ) ;
41
+ this . _pickedColorPresentation = dom . append ( this . _pickedColorNode , document . createElement ( 'div' ) ) ;
42
+ this . _pickedColorPresentation . classList . add ( 'picked-color-presentation ' ) ;
43
43
dom . append ( this . _pickedColorNode , $ ( '.codicon.codicon-color-mode' ) ) ;
44
44
45
45
const tooltip = localize ( 'clickToToggleColorOptions' , "Click to toggle color options (rgb/hsl/hex)" ) ;
@@ -95,7 +95,7 @@ export class ColorPickerHeader extends Disposable {
95
95
}
96
96
97
97
private onDidChangePresentation ( ) : void {
98
- this . _pickedColorRepresentation . textContent = this . model . presentation ? this . model . presentation . label : '' ;
98
+ this . _pickedColorPresentation . textContent = this . model . presentation ? this . model . presentation . label : '' ;
99
99
}
100
100
}
101
101
0 commit comments