fix shortcut on non-macs
parent
d1941d7dde
commit
028f5b4931
|
@ -115,7 +115,7 @@ MD.Keyboard = function(){
|
||||||
if (key === "arrowdown") key = "↓";
|
if (key === "arrowdown") key = "↓";
|
||||||
if (key === " ") key = "SPACEBAR";
|
if (key === " ") key = "SPACEBAR";
|
||||||
if (key === "shift") key = "⇧";
|
if (key === "shift") key = "⇧";
|
||||||
if (key === "cmd") key = svgedit.browser.isMac ? "⌘" : "Ctrl";
|
if (key === "cmd") key = svgedit.browser.isMac() ? "⌘" : "Ctrl";
|
||||||
shortcutKey.textContent = key;
|
shortcutKey.textContent = key;
|
||||||
shortcutKeys.appendChild(shortcutKey);
|
shortcutKeys.appendChild(shortcutKey);
|
||||||
shortcut.appendChild(shortcutKeys);
|
shortcut.appendChild(shortcutKeys);
|
||||||
|
|
Loading…
Reference in New Issue