mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 18:16:09 +02:00
🐛 Avoid marking component as touched when moving into a group
This commit is contained in:
parent
0895a69bac
commit
87351000ae
2 changed files with 9 additions and 4 deletions
|
@ -64,6 +64,7 @@
|
||||||
- Restored rules color [Taiga #2460](https://tree.taiga.io/project/penpot/issue/2460)
|
- 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 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)
|
- 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
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|
|
@ -924,11 +924,13 @@
|
||||||
:operations [{:type :set
|
:operations [{:type :set
|
||||||
:attr :constraints-h
|
:attr :constraints-h
|
||||||
:val (spec/default-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
|
{:type :set
|
||||||
:attr :constraints-v
|
:attr :constraints-v
|
||||||
:val (spec/default-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)
|
shapes-to-unconstraint)
|
||||||
|
|
||||||
u-unconstraint-change
|
u-unconstraint-change
|
||||||
|
@ -939,10 +941,12 @@
|
||||||
:id id
|
:id id
|
||||||
:operations [{:type :set
|
:operations [{:type :set
|
||||||
:attr :constraints-h
|
:attr :constraints-h
|
||||||
:val (:constraints-h obj)}
|
:val (:constraints-h obj)
|
||||||
|
:ignore-touched true}
|
||||||
{:type :set
|
{:type :set
|
||||||
:attr :constraints-v
|
:attr :constraints-v
|
||||||
:val (:constraints-v obj)}]}))
|
:val (:constraints-v obj)
|
||||||
|
:ignore-touched true}]}))
|
||||||
shapes-to-unconstraint)
|
shapes-to-unconstraint)
|
||||||
|
|
||||||
r-reg-change
|
r-reg-change
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue