Skip to content

Commit

Permalink
Add shortcut command-e to toggle the edit state of all sources
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Jan 19, 2024
1 parent b3156d3 commit 5b62d1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fontra/views/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,9 @@ export class EditorController {
this.registerShortCut("i", { metaKey: true, globalOverride: true }, () => {
this.toggleSidebar("selection-info", true);
});
this.registerShortCut("e", { metaKey: true, globalOverride: true }, () => {
this.getSidebarPanel("designspace-navigation").onEditHeaderClick();
});

for (const menuItem of [
...this.basicContextMenuItems,
Expand Down

0 comments on commit 5b62d1a

Please sign in to comment.