Skip to content

Commit

Permalink
Merge pull request #1061 from googlefonts/issue1060
Browse files Browse the repository at this point in the history
Add shortcut command-e to toggle the edit state of all sources
  • Loading branch information
justvanrossum authored Jan 19, 2024
2 parents b3156d3 + 5b62d1a commit 2c85e39
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 2c85e39

Please sign in to comment.