mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 17:00:36 -05:00
🐛 Fix problems with selection index update
This commit is contained in:
parent
045a5156d1
commit
48e78125e8
2 changed files with 13 additions and 2 deletions
|
@ -93,6 +93,16 @@
|
|||
:text :ignore}
|
||||
|
||||
:svg-raw
|
||||
{:measure :shape
|
||||
:layer :shape
|
||||
:constraint :shape
|
||||
:fill :shape
|
||||
:shadow :shape
|
||||
:blur :shape
|
||||
:stroke :shape
|
||||
:text :ignore}
|
||||
|
||||
:bool
|
||||
{:measure :shape
|
||||
:layer :shape
|
||||
:constraint :shape
|
||||
|
|
|
@ -64,8 +64,9 @@
|
|||
(get new-objects id)))
|
||||
|
||||
changed-ids (into #{}
|
||||
(comp (filter changes?)
|
||||
(filter #(not= % uuid/zero)))
|
||||
(comp (filter #(not= % uuid/zero))
|
||||
(filter changes?)
|
||||
(mapcat #(d/concat [%] (cp/get-children % new-objects))))
|
||||
(set/union (set (keys old-objects))
|
||||
(set (keys new-objects))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue