0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

🐛 Fix default grow type in texts

This commit is contained in:
Eva 2022-09-05 11:17:51 +02:00
parent 7e58e2f5eb
commit c69cb20be1
2 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Fix default value of grow type in texts [Taiga #4034](https://tree.taiga.io/project/penpot/issue/4034)
- Fix error when moving nested frames outside [Taiga #4017](https://tree.taiga.io/project/penpot/issue/4017) - Fix error when moving nested frames outside [Taiga #4017](https://tree.taiga.io/project/penpot/issue/4017)
- Fix problem when hovering over nested frames [Taiga #4018](https://tree.taiga.io/project/penpot/issue/4018) - Fix problem when hovering over nested frames [Taiga #4018](https://tree.taiga.io/project/penpot/issue/4018)
- Fix problem editing rotated texts [Taiga #4026](https://tree.taiga.io/project/penpot/issue/4026) - Fix problem editing rotated texts [Taiga #4026](https://tree.taiga.io/project/penpot/issue/4026)

View file

@ -46,6 +46,9 @@
shape shape
(cond-> shape (cond-> shape
(not click-draw?)
(-> (assoc :grow-type :fixed))
(and click-draw? (not text?)) (and click-draw? (not text?))
(-> (assoc :width min-side :height min-side) (-> (assoc :width min-side :height min-side)
(assoc-in [:modifiers :displacement] (assoc-in [:modifiers :displacement]