History

Fix Windows keybindings for font size: use Ctrl+ to increase (#786)

Adam Naji committed 8 months ago

Commit dfd41da1 parent b37279c1 file · +15 −1Browse files

Unified · Split

apps/desktop/src/main.ts+15−1
@@ -586,7 +586,21 @@ function configureApplicationMenu(): void { · 585 unmodified lines
586586 ],
587587 },
588588 { role: "editMenu" },
589− { role: "viewMenu" },
589+ {
590+ label: "View",
591+ submenu: [
592+ { role: "reload" },
593+ { role: "forceReload" },
594+ { role: "toggleDevTools" },
595+ { type: "separator" },
596+ { role: "resetZoom" },
597+ { role: "zoomIn", accelerator: "CmdOrCtrl+=" },
598+ { role: "zoomIn", accelerator: "CmdOrCtrl+Plus", visible: false },
599+ { role: "zoomOut" },
600+ { type: "separator" },
601+ { role: "togglefullscreen" },
602+ ],
603+ },
590604 { role: "windowMenu" },
591605 {
592606 role: "help",