mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
Merge pull request #2224 from penpot/eva-fix-grow-type
🐛 Fix default grow type in texts
This commit is contained in:
commit
3aa25e7a90
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
### :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 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)
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
|
||||
shape
|
||||
(cond-> shape
|
||||
(not click-draw?)
|
||||
(-> (assoc :grow-type :fixed))
|
||||
|
||||
(and click-draw? (not text?))
|
||||
(-> (assoc :width min-side :height min-side)
|
||||
(assoc-in [:modifiers :displacement]
|
||||
|
|
Loading…
Add table
Reference in a new issue