0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

🐛 Fix problem with single line texts

This commit is contained in:
alonso.torres 2022-05-17 10:36:30 +02:00
parent 216b510900
commit d684970bfb

View file

@ -33,7 +33,7 @@
(let [modifier (get modifiers id)
modifier (d/update-when modifier :modifiers dissoc :displacement :rotation)
shape (cond-> shape
(not (gsh/empty-modifiers? modifier))
(not (gsh/empty-modifiers? (:modifiers modifier)))
(-> (assoc :grow-type :fixed)
(merge modifier) gsh/transform-shape))]
(strip-position-data shape)))