Skip to content

Commit

Permalink
Fix color picker command title (#210349)
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
grgar committed Apr 15, 2024
1 parent 4b7bb4d commit b41db61
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ export class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
super({
id: 'editor.action.showOrFocusStandaloneColorPicker',
title: {
...localize2('showOrFocusStandaloneColorPicker', "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
...localize2('showOrFocusStandaloneColorPicker', "Show or Focus Standalone Color Picker"),
mnemonicTitle: localize({ key: 'mishowOrFocusStandaloneColorPicker', comment: ['&& denotes a mnemonic'] }, "&&Show or Focus Standalone Color Picker"),
},
precondition: undefined,
menu: [
{ id: MenuId.CommandPalette },
]
],
metadata: {
description: localize2('showOrFocusStandaloneColorPickerDescription', "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
}
});
}
runEditorCommand(_accessor: ServicesAccessor, editor: ICodeEditor) {
Expand Down

0 comments on commit b41db61

Please sign in to comment.