mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 09:26:12 +02:00
🐛 Fix problem with text proportion lock
This commit is contained in:
parent
4c81ac4386
commit
330c0ac9f9
2 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue