mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 00:49:02 +02:00
✨ Do not allow the creation of groups, masks nor boolean in copies
This commit is contained in:
parent
b4d78d2fd7
commit
51fe27369b
7 changed files with 37 additions and 21 deletions
|
@ -109,7 +109,8 @@
|
|||
[:parent-id ::sm/uuid]
|
||||
[:shapes :any]
|
||||
[:index {:optional true} [:maybe :int]]
|
||||
[:after-shape {:optional true} :any]]]
|
||||
[:after-shape {:optional true} :any]
|
||||
[:component-swap {:optional true} :boolean]]]
|
||||
|
||||
[:reorder-children
|
||||
[:map {:title "ReorderChildrenChange"}
|
||||
|
|
|
@ -531,7 +531,7 @@
|
|||
(merge-path other-path item))))
|
||||
[other-path last-item false]))))
|
||||
|
||||
(defn prev-path
|
||||
(defn butlast-path
|
||||
"Remove the last item of the path."
|
||||
[path]
|
||||
(let [split (split-path path)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue