mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 22:51:39 +02:00
🐛 Fix default grow type in texts
This commit is contained in:
parent
7e58e2f5eb
commit
c69cb20be1
2 changed files with 4 additions and 0 deletions
|
@ -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
Add a link
Reference in a new issue