mirror of
https://github.com/penpot/penpot.git
synced 2025-07-18 01:47:12 +02:00
🐛 Fix problem with single line texts
This commit is contained in:
parent
216b510900
commit
d684970bfb
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
(let [modifier (get modifiers id)
|
(let [modifier (get modifiers id)
|
||||||
modifier (d/update-when modifier :modifiers dissoc :displacement :rotation)
|
modifier (d/update-when modifier :modifiers dissoc :displacement :rotation)
|
||||||
shape (cond-> shape
|
shape (cond-> shape
|
||||||
(not (gsh/empty-modifiers? modifier))
|
(not (gsh/empty-modifiers? (:modifiers modifier)))
|
||||||
(-> (assoc :grow-type :fixed)
|
(-> (assoc :grow-type :fixed)
|
||||||
(merge modifier) gsh/transform-shape))]
|
(merge modifier) gsh/transform-shape))]
|
||||||
(strip-position-data shape)))
|
(strip-position-data shape)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue