mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 12:21:38 +02: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}
|
:text :ignore}
|
||||||
|
|
||||||
:svg-raw
|
:svg-raw
|
||||||
|
{:measure :shape
|
||||||
|
:layer :shape
|
||||||
|
:constraint :shape
|
||||||
|
:fill :shape
|
||||||
|
:shadow :shape
|
||||||
|
:blur :shape
|
||||||
|
:stroke :shape
|
||||||
|
:text :ignore}
|
||||||
|
|
||||||
|
:bool
|
||||||
{:measure :shape
|
{:measure :shape
|
||||||
:layer :shape
|
:layer :shape
|
||||||
:constraint :shape
|
:constraint :shape
|
||||||
|
|
|
@ -64,8 +64,9 @@
|
||||||
(get new-objects id)))
|
(get new-objects id)))
|
||||||
|
|
||||||
changed-ids (into #{}
|
changed-ids (into #{}
|
||||||
(comp (filter changes?)
|
(comp (filter #(not= % uuid/zero))
|
||||||
(filter #(not= % uuid/zero)))
|
(filter changes?)
|
||||||
|
(mapcat #(d/concat [%] (cp/get-children % new-objects))))
|
||||||
(set/union (set (keys old-objects))
|
(set/union (set (keys old-objects))
|
||||||
(set (keys new-objects))))
|
(set (keys new-objects))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue