From 74cc8079bb7bcab68b0fbcf8736136d12059d249 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 20 Feb 2024 12:13:12 +0100 Subject: [PATCH] :bug: Fix a problem with input rotation for shapes --- common/src/app/common/geom/shapes/bounds.cljc | 1 - .../app/main/ui/workspace/sidebar/options/menus/measures.cljs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/src/app/common/geom/shapes/bounds.cljc b/common/src/app/common/geom/shapes/bounds.cljc index 6e7002f9d5..6935c0d971 100644 --- a/common/src/app/common/geom/shapes/bounds.cljc +++ b/common/src/app/common/geom/shapes/bounds.cljc @@ -153,7 +153,6 @@ (get-object-bounds objects shape nil)) ([objects shape {:keys [ignore-margin?] :or {ignore-margin? true}}] (let [base-bounds (calculate-base-bounds shape ignore-margin?) - _ (prn ">" (:name shape) base-bounds) bounds (cond (or (empty? (:shapes shape)) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs index 7e06fadad3..a3aaf2422a 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs @@ -452,7 +452,7 @@ [:span {:class (stl/css :icon)} i/rotation-refactor] [:> numeric-input* {:no-validate true - :min 0 + :min -359 :max 359 :data-wrap true :placeholder (if (= :multiple (:rotation values)) (tr "settings.multiple") "--")