0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Make paste undoable

This commit is contained in:
mathieu.brunot 2019-02-23 00:55:37 +01:00
parent b5cbb90f4f
commit 6fc98885dd
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -247,6 +247,7 @@
(CopyToClipboard.))
(defrecord PasteFromClipboard [id]
udp/IPageUpdate
ptk/UpdateEvent
(update [_ state]
(let [page (get-in state [:workspace :page])