mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-28 15:46:16 +00:00
feat: Make inspector shortcut use L key by default, b=no-bug, c=kbs
This commit is contained in:
@@ -800,6 +800,10 @@ class nsZenKeyboardShortcutsLoader {
|
||||
continue;
|
||||
}
|
||||
let parsed = KeyShortcut.parseFromXHTML(key, { group: "devTools" });
|
||||
// Move "inspector" shortcut to use "L" key instead of "I"
|
||||
if (parsed.getID() == "key_inspector" || parsed.getID() == "key_inspectorMac") {
|
||||
parsed.setNewBinding("L");
|
||||
}
|
||||
newShortcutList.push(parsed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user