mirror of
https://github.com/penpot/penpot.git
synced 2026-08-05 20:38:38 +00:00
Merge pull request #5396 from penpot/niwinz-bugfix-1
🐛 Fix regression on drawing text with auto-size
This commit is contained in:
commit
fffc3b1b58
@ -235,7 +235,11 @@
|
|||||||
(when (some? modifiers)
|
(when (some? modifiers)
|
||||||
(d/mapm (fn [id {current-modifiers :modifiers}]
|
(d/mapm (fn [id {current-modifiers :modifiers}]
|
||||||
(let [shape (get objects id)
|
(let [shape (get objects id)
|
||||||
adapt-text? (and (= :text (:type shape)) (not (ctm/only-move? current-modifiers)))
|
|
||||||
|
adapt-text?
|
||||||
|
(and (= :text (:type shape))
|
||||||
|
(ctm/has-geometry? current-modifiers)
|
||||||
|
(not (ctm/only-move? current-modifiers)))
|
||||||
|
|
||||||
current-modifiers
|
current-modifiers
|
||||||
(cond-> current-modifiers
|
(cond-> current-modifiers
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user