From 330c0ac9f900b6513d0eeac00833d3d8582a7e9e Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 16 Feb 2024 13:32:32 +0100 Subject: [PATCH] :bug: Fix problem with text proportion lock --- common/src/app/common/geom/proportions.cljc | 2 +- frontend/src/app/main/ui/shapes/custom_stroke.cljs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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]