0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh 2024-12-03 11:47:40 +01:00
commit 052b39d833

View file

@ -235,7 +235,11 @@
(when (some? modifiers)
(d/mapm (fn [id {current-modifiers :modifiers}]
(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
(cond-> current-modifiers