From 5c7188eeba545347647a27247326322acfc4c75b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 29 Feb 2016 17:21:29 +0200 Subject: [PATCH] Fix outer-rect impl for rect like shapes. Now is again aware of rotation value. Signed-off-by: Andrey Antukh --- src/uxbox/shapes.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uxbox/shapes.cljs b/src/uxbox/shapes.cljs index 471262147b..95acd83fa0 100644 --- a/src/uxbox/shapes.cljs +++ b/src/uxbox/shapes.cljs @@ -268,7 +268,8 @@ [{:keys [group] :as shape}] (as-> shape $ (assoc $ :x (:x1 shape) :y (:y1 shape)) - (merge $ (size $)))) + (merge $ (size $)) + (container-rect $))) (defmethod outer-rect' :builtin/line [{:keys [x1 y1 x2 y2 group] :as shape}]