mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 23:36:11 +02:00
🐛 Clear touched flags when detaching a component
This commit is contained in:
parent
4e48b78e03
commit
6ed470ed5f
1 changed files with 7 additions and 1 deletions
|
@ -448,6 +448,9 @@
|
|||
:val nil}
|
||||
{:type :set
|
||||
:attr :shape-ref
|
||||
:val nil}
|
||||
{:type :set
|
||||
:attr :touched
|
||||
:val nil}]})
|
||||
shapes)
|
||||
|
||||
|
@ -466,7 +469,10 @@
|
|||
:val (:component-root? obj)}
|
||||
{:type :set
|
||||
:attr :shape-ref
|
||||
:val (:shape-ref obj)}]})
|
||||
:val (:shape-ref obj)}
|
||||
{:type :set
|
||||
:attr :touched
|
||||
:val (:touched obj)}]})
|
||||
shapes)]
|
||||
|
||||
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true}))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue