Skip to content

Commit 0e34605

Browse files
committed
changing the word representation to presentation
1 parent 9b8e6ed commit 0e34605

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/vs/editor/contrib/colorPicker/browser/colorPicker.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
flex: 1;
5151
}
5252

53-
.colorpicker-header .picked-color .picked-color-representation {
53+
.colorpicker-header .picked-color .picked-color-presentation {
5454
white-space: nowrap;
5555
margin-left: 30px;
5656
margin-right: 5px;

src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class ColorPickerHeader extends Disposable {
2626

2727
private readonly _domNode: HTMLElement;
2828
private readonly _pickedColorNode: HTMLElement;
29-
private readonly _pickedColorRepresentation: HTMLElement;
29+
private readonly _pickedColorPresentation: HTMLElement;
3030
private readonly _originalColorNode: HTMLElement;
3131
private readonly _closeButton: CloseButton | null = null;
3232
private backgroundColor: Color;
@@ -38,8 +38,8 @@ export class ColorPickerHeader extends Disposable {
3838
dom.append(container, this._domNode);
3939

4040
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');
4343
dom.append(this._pickedColorNode, $('.codicon.codicon-color-mode'));
4444

4545
const tooltip = localize('clickToToggleColorOptions', "Click to toggle color options (rgb/hsl/hex)");
@@ -95,7 +95,7 @@ export class ColorPickerHeader extends Disposable {
9595
}
9696

9797
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 : '';
9999
}
100100
}
101101

0 commit comments

Comments
 (0)