mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 19:33:45 +00:00
Properly trigger page update on shape movement.
This commit is contained in:
parent
e40632cca6
commit
5624882ce2
@ -43,6 +43,7 @@
|
|||||||
"Just updates in place the shape."
|
"Just updates in place the shape."
|
||||||
[{:keys [id] :as shape}]
|
[{:keys [id] :as shape}]
|
||||||
(reify
|
(reify
|
||||||
|
udp/IPageUpdate
|
||||||
rs/UpdateEvent
|
rs/UpdateEvent
|
||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(update-in state [:shapes-by-id id] merge shape))))
|
(update-in state [:shapes-by-id id] merge shape))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user