diff --git a/src/uxbox/shapes.cljs b/src/uxbox/shapes.cljs index 0a8815a79c..c501c6531e 100644 --- a/src/uxbox/shapes.cljs +++ b/src/uxbox/shapes.cljs @@ -176,7 +176,9 @@ 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)] + height (- y' y) + x (+ dx x) + y (+ dy y)] (as-> shape $ (merge $ {:width width :height height :x x :y y}) (container-rect $))))