From 1f82c0f1e157ece0638cb230cd0b3a6fa8efa08f Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 3 Jun 2020 09:04:49 +0200 Subject: [PATCH] :bug: Fixed selection behaviour --- frontend/src/uxbox/main/data/workspace.cljs | 1 + frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/uxbox/main/data/workspace.cljs b/frontend/src/uxbox/main/data/workspace.cljs index 2bfebf3316..5592e223ac 100644 --- a/frontend/src/uxbox/main/data/workspace.cljs +++ b/frontend/src/uxbox/main/data/workspace.cljs @@ -1329,6 +1329,7 @@ "ctrl+shift+z" #(st/emit! dwc/redo) "ctrl+y" #(st/emit! dwc/redo) "ctrl+q" #(st/emit! dwc/reinitialize-undo) + "a" #(st/emit! (select-for-drawing :frame)) "b" #(st/emit! (select-for-drawing :rect)) "e" #(st/emit! (select-for-drawing :circle)) "t" #(st/emit! (select-for-drawing :text)) diff --git a/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs b/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs index 6b30180c82..224a66b177 100644 --- a/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs @@ -125,7 +125,7 @@ (:hidden item)) nil - (.-ctrlKey event) + (.-shiftKey event) (st/emit! (dw/select-shape id true)) (> (count selected) 1)