Skip to content

Commit

Permalink
Merge pull request #4904 from tomsmeding/patch-palette
Browse files Browse the repository at this point in the history
Rename the "Pallete" button to "Palette"
  • Loading branch information
nightwing authored Aug 24, 2022
2 parents 8727838 + e0167de commit e09c92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/default_commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ exports.commands = [{
scrollIntoView: "cursor"
}, {
name: "openCommandPallete",
description: "Open command pallete",
description: "Open command palette",
bindKey: bindKey("F1", "F1"),
exec: function(editor) {
editor.prompt({ $type: "commands" });
Expand Down
2 changes: 1 addition & 1 deletion src/mouse/touch_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports.addTouchListeners = function(el, editor) {
clipboard && ["span", { class: "ace_mobile-button", action: "paste" }, "Paste"],
hasUndo && ["span", { class: "ace_mobile-button", action: "undo" }, "Undo"],
["span", { class: "ace_mobile-button", action: "find" }, "Find"],
["span", { class: "ace_mobile-button", action: "openCommandPallete" }, "Pallete"]
["span", { class: "ace_mobile-button", action: "openCommandPallete" }, "Palette"]
] : ["span"]),
contextMenu.firstChild
);
Expand Down

0 comments on commit e09c92e

Please sign in to comment.