🐛 Clear touched flags when detaching a component

This commit is contained in:
Andrés Moya 2020-12-11 11:14:29 +01:00 committed by Andrey Antukh
parent 4e48b78e03
commit 6ed470ed5f

View file

@ -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}))))))