mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 20:17:11 +02:00
🎉 Allow to duplicate components with main instance
This commit is contained in:
parent
ce09ea6eb5
commit
165cdd871f
4 changed files with 49 additions and 15 deletions
|
@ -276,7 +276,11 @@
|
|||
(dorun (for [component (vals components)]
|
||||
(do
|
||||
(println)
|
||||
(println (str/format "[%s]" (:name component)))
|
||||
(println (str/format "[%s]" (:name component))
|
||||
(when show-ids
|
||||
(str/format " (main: %s/%s)"
|
||||
(:main-instance-page component)
|
||||
(:main-instance-id component))))
|
||||
(show-shape (:id component) 0 (:objects component)))))))))
|
||||
|
||||
(defn ^:export dump-tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue