mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
Improve move-shape event constructor docstring.
This commit is contained in:
parent
89a21d7abb
commit
3dd741129c
1 changed files with 1 additions and 2 deletions
|
@ -103,9 +103,8 @@
|
|||
(update-in state [:shapes-by-id id] merge shape))))
|
||||
|
||||
(defn move-shape
|
||||
"Mark a shape selected for drawing in the canvas."
|
||||
"Move shape using relative position (delta)."
|
||||
[sid delta]
|
||||
{:pre [(gpt/point? delta)]}
|
||||
(reify
|
||||
udp/IPageUpdate
|
||||
rs/UpdateEvent
|
||||
|
|
Loading…
Reference in a new issue