mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 06:46:11 +02:00
✨ Add general improvements to copy paste
Cleaning code and adding more safety checks
This commit is contained in:
parent
37e4939af7
commit
783e0470be
11 changed files with 434 additions and 308 deletions
|
@ -55,8 +55,8 @@
|
|||
:or {reg-objects? false save-undo? true stack-undo? false ignore-remote? false ignore-touched false}}]
|
||||
|
||||
(dm/assert!
|
||||
"expected a valid set of uuid's"
|
||||
(sm/check-set-of-uuid! ids))
|
||||
"expected a valid coll of uuid's"
|
||||
(sm/check-coll-of-uuid! ids))
|
||||
|
||||
(dm/assert! (fn? update-fn))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue