mirror of
https://github.com/penpot/penpot.git
synced 2026-11-18 16:12:24 +00:00
* ⚡ Avoid iterating over every object in frame-titles* Similarly to #13075, frame-titles* used to iterate over every object to work out the frames at the root that need titles. For files with lots of objects this can be slow, but we can just get the root frames by looking at the root object's children. We need to remove non-main-component instances to copy the behaviour of `get-frame-ids :skip-copies? true`. This also now causes the title to be drawn on a child frame whenever it's focused. AI-assisted-by: claude-opus-5-5 * 🐛 Don't show frame title on focused frames Restores the existing behaviour when focused