Commit 025afd9
philter
fix: Layout ScaleType keying with percent units bug (#12388) 1f4b65d3dd
There is a bug when keying width or height scale type, in particular if one of those values is set to a percent unit. Keying a scale type would cause the other axis to incorrectly reset its unit value. Really we shouldnt being changing the unit value (its not keyable), and we should just let it store either px or % and persist that value so it gets passed down to the layout engine only when the scale type is set to fixed. When set to fill or hug, we always pass down auto. We determine which at the time syncStyle is called.
Also this PR hides the "Apply transform" toggle for strokes applied to layouts. Since apply transform relates to the scale of objects, it isnt relevant to layouts because they don't scale, they only resize their width/height and would result in visual bugs (#12351).1 parent 353db3c commit 025afd9
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments