mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
🐛 Fix circle shape rotation behavior.
This commit is contained in:
parent
cdcae36b58
commit
85f4d4824f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@
|
|||
|
||||
(mf/defc controls
|
||||
[{:keys [shape zoom on-resize on-rotate] :as props}]
|
||||
(let [{:keys [x y width height rotation]} (geom/shape->rect-shape shape)
|
||||
(let [{:keys [x y width height rotation] :as shape} (geom/shape->rect-shape shape)
|
||||
radius (if (> (max width height) handler-size-threshold) 6.0 4.0)
|
||||
transform (geom/rotation-matrix shape)]
|
||||
[:g.controls {:transform transform}
|
||||
|
|
Loading…
Add table
Reference in a new issue