mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 21:51:37 +02:00
🎉 Show circle diameter in options form instead of radius
This commit is contained in:
parent
f5e16eb469
commit
e3d3751468
2 changed files with 9 additions and 9 deletions
|
@ -1875,7 +1875,7 @@
|
|||
(defn update-circle-dimensions
|
||||
[id attr value]
|
||||
(us/verify ::us/uuid id)
|
||||
(us/verify #{::rx ::ry} attr)
|
||||
(us/verify #{:rx :ry} attr)
|
||||
(us/verify ::us/number value)
|
||||
(ptk/reify ::update-rect-dimensions
|
||||
IBatchedChange
|
||||
|
@ -1883,7 +1883,7 @@
|
|||
(update [_ state]
|
||||
(let [page-id (::page-id state)]
|
||||
(update-in state [:workspace-data page-id :objects id]
|
||||
geom/resize-rect attr value)))))
|
||||
geom/resize-circle attr value)))))
|
||||
|
||||
;; --- Shape Proportions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue