diff --git a/src/uxbox/shapes.cljs b/src/uxbox/shapes.cljs index 06829446c5..f7d5fa6c02 100644 --- a/src/uxbox/shapes.cljs +++ b/src/uxbox/shapes.cljs @@ -120,10 +120,11 @@ final-y (- center-y d1) final-width (* d2 2) final-height (* d1 2)] - {:x final-x - :y final-y - :width final-width - :height final-height})) + (merge shape + {:x final-x + :y final-y + :width final-width + :height final-height}))) (defn group-size-and-position "Given a collection of shapes, calculates the