From 46ec80dd0411b0f6140768ae930fa22897e6d897 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 24 Dec 2015 19:36:29 +0200 Subject: [PATCH] Add more shortcuts to workspace. --- frontend/uxbox/ui/workspace/shortcuts.cljs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/uxbox/ui/workspace/shortcuts.cljs b/frontend/uxbox/ui/workspace/shortcuts.cljs index 165087d06c..6c52febeb5 100644 --- a/frontend/uxbox/ui/workspace/shortcuts.cljs +++ b/frontend/uxbox/ui/workspace/shortcuts.cljs @@ -15,6 +15,7 @@ (defonce ^:static +shortcuts+ #{:ctrl+g :ctrl+shift+f + :ctrl+shift+i :ctrl+shift+l}) (defonce ^:static ^:private +bus+ @@ -54,6 +55,10 @@ [_] (rs/emit! (dw/toggle-toolbox :layers))) +(defmethod -handle-event :ctrl+shift+i + [_] + (rs/emit! (dw/toggle-toolbox :icons))) + (defmethod -handle-event :ctrl+shift+f [_] (rs/emit! (dw/toggle-toolbox :draw)))