mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 03:21:38 +02:00
✨ Hide frame titles for component copies
This commit is contained in:
parent
4ddd3811b2
commit
b45bdb52b2
2 changed files with 5 additions and 4 deletions
|
@ -176,7 +176,8 @@
|
|||
on-frame-enter (unchecked-get props "on-frame-enter")
|
||||
on-frame-leave (unchecked-get props "on-frame-leave")
|
||||
on-frame-select (unchecked-get props "on-frame-select")
|
||||
shapes (ctt/get-frames objects)
|
||||
components-v2 (mf/use-ctx ctx/components-v2)
|
||||
shapes (ctt/get-frames objects {:skip-copies? components-v2})
|
||||
shapes (if (debug? :shape-titles)
|
||||
(into (set shapes)
|
||||
(map (d/getf objects))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue