mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 21:19:49 +00:00
🐛 Clear touched flags when detaching a component
This commit is contained in:
parent
4e48b78e03
commit
6ed470ed5f
@ -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…
x
Reference in New Issue
Block a user