mirror of
https://github.com/penpot/penpot.git
synced 2026-05-05 16:18:35 +00:00
Add missing -move impl for group.
This commit is contained in:
parent
e1a15aed9a
commit
17597ced08
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user