mirror of
https://github.com/penpot/penpot.git
synced 2026-03-14 14:27:11 +00:00
🐛 Fix problems with selection index update
This commit is contained in:
@@ -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))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user