feat: add shortcut of zooming to selection (#9447)

### Changed
- change edgeless shortcut `cmd + 0`, `cmd + 1` to `alt + 0`, `alt + 1`
- add new shortcut `alt + 2` to zoom to currently selected elements
This commit is contained in:
doouding
2025-01-03 03:57:04 +00:00
parent 30a181da38
commit a4e94ab72f
8 changed files with 125 additions and 15 deletions
@@ -618,6 +618,7 @@
"com.affine.keyboardShortcuts.zoomOut": "Zoom out",
"com.affine.keyboardShortcuts.zoomTo100": "Zoom to 100%",
"com.affine.keyboardShortcuts.zoomToFit": "Zoom to fit",
"com.affine.keyboardShortcuts.zoomToSelection": "Zoom to selection",
"com.affine.last30Days": "Last 30 days",
"com.affine.last7Days": "Last 7 days",
"com.affine.lastMonth": "Last month",