mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 17:57:18 +02:00
Merge pull request #2855 from penpot/alotor-migration-fix-frame-id
🐛 Add migration to fix problem with frame-id
This commit is contained in:
commit
f85a731969
5 changed files with 49 additions and 20 deletions
|
@ -432,7 +432,8 @@
|
|||
(or
|
||||
(= uuid/zero id)
|
||||
(and
|
||||
(str/includes? (str/lower (:name shape)) (str/lower search))
|
||||
(or (str/includes? (str/lower (:name shape)) (str/lower search))
|
||||
(str/includes? (dm/str (:id shape)) (str/lower search)))
|
||||
(or
|
||||
(empty? filters)
|
||||
(and
|
||||
|
|
|
@ -243,6 +243,7 @@
|
|||
(filter #(or (empty? focus) (cp/is-in-focus? objects focus %)))
|
||||
(first)
|
||||
(get objects))]
|
||||
|
||||
(reset! hover hover-shape)
|
||||
(reset! hover-ids ids)
|
||||
(reset! hover-top-frame-id (ctt/top-nested-frame objects (deref last-point-ref))))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue