0
Fork 0
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:
Andrey Antukh 2016-04-09 23:14:38 +03:00
parent 89a21d7abb
commit 3dd741129c
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -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