From 91eebecb61d98a1edfc746b346cb67abf5d34495 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 27 Apr 2020 14:28:09 +0200 Subject: [PATCH] :bug: Fixes problem when drawing new shape --- frontend/src/uxbox/main/ui/workspace/drawarea.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/uxbox/main/ui/workspace/drawarea.cljs b/frontend/src/uxbox/main/ui/workspace/drawarea.cljs index 555428c17..d1e5554b0 100644 --- a/frontend/src/uxbox/main/ui/workspace/drawarea.cljs +++ b/frontend/src/uxbox/main/ui/workspace/drawarea.cljs @@ -301,7 +301,7 @@ (mf/defc generic-draw-area [{:keys [shape zoom]}] - (let [{:keys [x y width height]} (geom/shape->rect-shape shape)] + (let [{:keys [x y width height]} (geom/transform-selrect nil shape)] (when (and x y) [:g [:& shapes/shape-wrapper {:shape shape}]