diff --git a/src/uxbox/shapes.cljs b/src/uxbox/shapes.cljs index 98c2a80454..52652acd57 100644 --- a/src/uxbox/shapes.cljs +++ b/src/uxbox/shapes.cljs @@ -164,6 +164,12 @@ :x (+ (:x shape) dx) :y (+ (:y shape) dy))) +(defmethod -move :builtin/group + [shape [dx dy]] + (assoc shape + :dx (+ (:dx shape 0) dx) + :dy (+ (:dy shape 0) dy))) + (defmethod -move :builtin/line [shape [dx dy]] (assoc shape