0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Avoid marking component as touched when moving into a group

This commit is contained in:
Andrés Moya 2022-01-17 15:33:41 +01:00 committed by Andrey Antukh
parent 0895a69bac
commit 87351000ae
2 changed files with 9 additions and 4 deletions

View file

@ -64,6 +64,7 @@
- Restored rules color [Taiga #2460](https://tree.taiga.io/project/penpot/issue/2460)
- Fix thumbnail not taking frame blending mode [Taiga #2301](https://tree.taiga.io/project/penpot/issue/2301)
- Fix import/export with SVG edge cases [Taiga #2389](https://tree.taiga.io/project/penpot/issue/2389)
- Avoid modifying component when moving into a group [Taiga #2534](https://tree.taiga.io/project/penpot/issue/2534)
### :arrow_up: Deps updates

View file

@ -924,11 +924,13 @@
:operations [{:type :set
:attr :constraints-h
:val (spec/default-constraints-h
(assoc obj :parent-id parent-id :frame-id frame-id))}
(assoc obj :parent-id parent-id :frame-id frame-id))
:ignore-touched true}
{:type :set
:attr :constraints-v
:val (spec/default-constraints-v
(assoc obj :parent-id parent-id :frame-id frame-id))}]}))
(assoc obj :parent-id parent-id :frame-id frame-id))
:ignore-touched true}]}))
shapes-to-unconstraint)
u-unconstraint-change
@ -939,10 +941,12 @@
:id id
:operations [{:type :set
:attr :constraints-h
:val (:constraints-h obj)}
:val (:constraints-h obj)
:ignore-touched true}
{:type :set
:attr :constraints-v
:val (:constraints-v obj)}]}))
:val (:constraints-v obj)
:ignore-touched true}]}))
shapes-to-unconstraint)
r-reg-change