mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 15:13:03 +00:00
🐛 Fix a problem with input rotation for shapes
This commit is contained in:
committed by
Andrey Antukh
parent
9e6db257cc
commit
74cc8079bb
@@ -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))
|
||||
|
||||
@@ -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") "--")
|
||||
|
||||
Reference in New Issue
Block a user