feat: Make inspector shortcut use L key by default, b=no-bug, c=kbs

This commit is contained in:
mr. m
2026-01-26 02:20:20 +01:00
parent a892721306
commit e05cb0e0dc

View File

@@ -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);
}