mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 03:16:11 +02:00
Merge pull request #3166 from penpot/hiru-frame-titles
✨ Hide frame titles for component copies
This commit is contained in:
commit
4f471f39da
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