Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1693)

Unified Diff: Source/devtools/front_end/ui/KeyboardShortcut.js

Issue 1293793004: Devtools: Update Mac shortcut symbols usability (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/KeyboardShortcut.js
diff --git a/Source/devtools/front_end/ui/KeyboardShortcut.js b/Source/devtools/front_end/ui/KeyboardShortcut.js
index fa3c484367eae0da0b1510ba1254145aba4b5af3..f671fdd249a9b9f229b29e86d688c5faef135e06 100644
--- a/Source/devtools/front_end/ui/KeyboardShortcut.js
+++ b/Source/devtools/front_end/ui/KeyboardShortcut.js
@@ -287,12 +287,12 @@ WebInspector.KeyboardShortcut._modifiersToString = function(modifiers)
var isMac = WebInspector.isMac();
var m = WebInspector.KeyboardShortcut.Modifiers;
var modifierNames = new Map([
- [m.Ctrl, isMac ? "\u2303" : "Ctrl\u200A+\u200A"],
- [m.Alt, isMac ? "\u2325" : "Alt\u200A+\u200A"],
- [m.Shift, isMac ? "\u21e7" : "Shift\u200A+\u200A"],
- [m.Meta, isMac ? "\u2318" : "Win\u200A+\u200A"]
+ [m.Ctrl, isMac ? "Ctrl\u2004" : "Ctrl\u200A+\u200A"],
+ [m.Alt, isMac ? "opt\u2004" : "Alt\u200A+\u200A"],
+ [m.Shift, isMac ? "\u21e7\u2004" : "Shift\u200A+\u200A"],
+ [m.Meta, isMac ? "\u2318\u2004" : "Win\u200A+\u200A"]
]);
- return [m.Ctrl, m.Alt, m.Shift, m.Meta].map(mapModifiers).join("");
+ return [m.Meta, m.Ctrl, m.Alt, m.Shift].map(mapModifiers).join("");
/**
* @param {number} m
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698