diff --git a/common/src/app/common/geom/proportions.cljc b/common/src/app/common/geom/proportions.cljc index d6f37c216..7afaeef4d 100644 --- a/common/src/app/common/geom/proportions.cljc +++ b/common/src/app/common/geom/proportions.cljc @@ -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)))) diff --git a/frontend/src/app/main/ui/shapes/custom_stroke.cljs b/frontend/src/app/main/ui/shapes/custom_stroke.cljs index fa27d4e52..e855405a1 100644 --- a/frontend/src/app/main/ui/shapes/custom_stroke.cljs +++ b/frontend/src/app/main/ui/shapes/custom_stroke.cljs @@ -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]