Skip to content

Commit b41db61

Browse files
authored
Fix color picker command title (microsoft#210349)
microsoft#209612 incorrectly changed the title to a description rather than adding a description. Move the description to the description and revert the editor title to what it was previously.
1 parent 4b7bb4d commit b41db61

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ export class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
1818
super({
1919
id: 'editor.action.showOrFocusStandaloneColorPicker',
2020
title: {
21-
...localize2('showOrFocusStandaloneColorPicker', "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
21+
...localize2('showOrFocusStandaloneColorPicker', "Show or Focus Standalone Color Picker"),
2222
mnemonicTitle: localize({ key: 'mishowOrFocusStandaloneColorPicker', comment: ['&& denotes a mnemonic'] }, "&&Show or Focus Standalone Color Picker"),
2323
},
2424
precondition: undefined,
2525
menu: [
2626
{ id: MenuId.CommandPalette },
27-
]
27+
],
28+
metadata: {
29+
description: localize2('showOrFocusStandaloneColorPickerDescription', "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
30+
}
2831
});
2932
}
3033
runEditorCommand(_accessor: ServicesAccessor, editor: ICodeEditor) {

0 commit comments

Comments
 (0)