mirror of
https://github.com/penpot/penpot.git
synced 2025-02-15 11:38:24 -05:00
Properly trigger page update on shape movement.
This commit is contained in:
parent
e40632cca6
commit
5624882ce2
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
"Just updates in place the shape."
|
||||
[{:keys [id] :as shape}]
|
||||
(reify
|
||||
udp/IPageUpdate
|
||||
rs/UpdateEvent
|
||||
(-apply-update [_ state]
|
||||
(update-in state [:shapes-by-id id] merge shape))))
|
||||
|
|
Loading…
Add table
Reference in a new issue