From 55fd2ae62935dbf06a41ac8a196b03b48b070536 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 29 Jan 2016 00:04:22 +0200 Subject: [PATCH] Revert some changes. --- src/uxbox/shapes.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/uxbox/shapes.cljs b/src/uxbox/shapes.cljs index c501c6531..0a8815a79 100644 --- a/src/uxbox/shapes.cljs +++ b/src/uxbox/shapes.cljs @@ -176,9 +176,7 @@ x' (apply max (map (fn [{:keys [x width]}] (+ x width)) shapes)) y' (apply max (map (fn [{:keys [y height]}] (+ y height)) shapes)) width (- x' x) - height (- y' y) - x (+ dx x) - y (+ dy y)] + height (- y' y)] (as-> shape $ (merge $ {:width width :height height :x x :y y}) (container-rect $))))