feat: Add zoom to fit for selected elements (#2522)

This commit is contained in:
Zen Tang 2020-12-13 14:54:35 -06:00 committed by GitHub
parent 59cff0f219
commit 5abe9b93e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 65 additions and 31 deletions

View file

@ -206,6 +206,10 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
label={t("shortcutsDialog.zoomToFit")}
shortcuts={["Shift+1"]}
/>
<Shortcut
label={t("shortcutsDialog.zoomToSelection")}
shortcuts={["Shift+2"]}
/>
<Shortcut
label={t("buttons.toggleFullScreen")}
shortcuts={["F"]}