mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 21:46:12 +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}
|
:val nil}
|
||||||
{:type :set
|
{:type :set
|
||||||
:attr :shape-ref
|
:attr :shape-ref
|
||||||
|
:val nil}
|
||||||
|
{:type :set
|
||||||
|
:attr :touched
|
||||||
:val nil}]})
|
:val nil}]})
|
||||||
shapes)
|
shapes)
|
||||||
|
|
||||||
|
@ -466,7 +469,10 @@
|
||||||
:val (:component-root? obj)}
|
:val (:component-root? obj)}
|
||||||
{:type :set
|
{:type :set
|
||||||
:attr :shape-ref
|
:attr :shape-ref
|
||||||
:val (:shape-ref obj)}]})
|
:val (:shape-ref obj)}
|
||||||
|
{:type :set
|
||||||
|
:attr :touched
|
||||||
|
:val (:touched obj)}]})
|
||||||
shapes)]
|
shapes)]
|
||||||
|
|
||||||
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true}))))))
|
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true}))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue