From 987736f9fb0affa9b814bfe0faf5c9c2c9f75c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Fri, 15 Apr 2016 17:34:21 +0200 Subject: [PATCH] Deselect current tool with esc --- src/uxbox/data/shapes.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uxbox/data/shapes.cljs b/src/uxbox/data/shapes.cljs index e36cf30023..b94ad2d129 100644 --- a/src/uxbox/data/shapes.cljs +++ b/src/uxbox/data/shapes.cljs @@ -320,7 +320,9 @@ (reify rs/UpdateEvent (-apply-update [_ state] - (assoc-in state [:workspace :selected] #{})))) + (-> state + (assoc-in [:workspace :selected] #{}) + (assoc-in [:workspace :drawing] nil))))) (defn group-selected []