mirror of
https://github.com/penpot/penpot.git
synced 2026-08-05 12:29:00 +00:00
🐛 Fix problem with text proportion lock
This commit is contained in:
parent
4c81ac4386
commit
330c0ac9f9
@ -40,6 +40,6 @@
|
|||||||
(cond
|
(cond
|
||||||
(= type :svg-raw) (setup-proportions-size shape)
|
(= type :svg-raw) (setup-proportions-size shape)
|
||||||
(= type :image) (setup-proportions-image shape)
|
(= type :image) (setup-proportions-image shape)
|
||||||
image-fill? (setup-proportions-size shape)
|
|
||||||
(= type :text) shape
|
(= type :text) shape
|
||||||
|
image-fill? (setup-proportions-size shape)
|
||||||
:else (setup-proportions-const shape))))
|
:else (setup-proportions-const shape))))
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
[app.common.geom.shapes :as gsh]
|
[app.common.geom.shapes :as gsh]
|
||||||
[app.common.geom.shapes.bounds :as gsb]
|
[app.common.geom.shapes.bounds :as gsb]
|
||||||
[app.common.geom.shapes.text :as gst]
|
[app.common.geom.shapes.text :as gst]
|
||||||
[app.common.math :as mth]
|
|
||||||
[app.config :as cf]
|
[app.config :as cf]
|
||||||
[app.main.ui.context :as muc]
|
[app.main.ui.context :as muc]
|
||||||
[app.main.ui.shapes.attrs :as attrs]
|
[app.main.ui.shapes.attrs :as attrs]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user