diff --git a/frontend/src/uxbox/main/ui/workspace/selection.cljs b/frontend/src/uxbox/main/ui/workspace/selection.cljs index 6182de478..36584604c 100644 --- a/frontend/src/uxbox/main/ui/workspace/selection.cljs +++ b/frontend/src/uxbox/main/ui/workspace/selection.cljs @@ -122,7 +122,7 @@ (mf/defc controls [{:keys [shape zoom on-resize on-rotate] :as props}] - (let [{:keys [x y width height rotation]} (geom/shape->rect-shape shape) + (let [{:keys [x y width height rotation] :as shape} (geom/shape->rect-shape shape) radius (if (> (max width height) handler-size-threshold) 6.0 4.0) transform (geom/rotation-matrix shape)] [:g.controls {:transform transform}