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