diff --git a/frontend/src/uxbox/main/data/workspace.cljs b/frontend/src/uxbox/main/data/workspace.cljs index b7ea5c8b4..486a7ae73 100644 --- a/frontend/src/uxbox/main/data/workspace.cljs +++ b/frontend/src/uxbox/main/data/workspace.cljs @@ -2239,7 +2239,11 @@ "ctrl+shift+f" #(rx/of (toggle-layout-flag :drawtools)) "ctrl+shift+i" #(rx/of (toggle-layout-flag :icons)) "ctrl+shift+l" #(rx/of (toggle-layout-flag :layers)) - "ctrl+0" #(rx/of (reset-zoom)) + "equals" #(rx/of increase-zoom) ; keyName for the key with = and + in US keyboards (see https://unixpapa.com/js/key.html) + "dash" #(rx/of decrease-zoom) ; keyName for the key with - and _ in US keyboards + "shift+0" #(rx/of zoom-to-50) + "shift+1" #(rx/of reset-zoom) + "shift+2" #(rx/of zoom-to-200) "ctrl+d" #(rx/of duplicate-selected) "ctrl+z" #(rx/of undo) "ctrl+shift+z" #(rx/of redo) diff --git a/frontend/src/uxbox/main/ui/workspace/header.cljs b/frontend/src/uxbox/main/ui/workspace/header.cljs index 768d1c4d7..afdfca654 100644 --- a/frontend/src/uxbox/main/ui/workspace/header.cljs +++ b/frontend/src/uxbox/main/ui/workspace/header.cljs @@ -50,11 +50,11 @@ [:li {:on-click decrease} "Zoom out" [:span "-"]] [:li {:on-click zoom-to-50} - "Zoom to 50%"] + "Zoom to 50%" [:span "Shift + 0"]] [:li {:on-click zoom-to-100} - "Zoom to 100%" [:span "Shift + 0"]] + "Zoom to 100%" [:span "Shift + 1"]] [:li {:on-click zoom-to-200} - "Zoom to 200%"]]]] + "Zoom to 200%" [:span "Shift + 2"]]]]] [:span.remove-zoom {:on-click increase} "+"]])) ;; --- Header Users