🎉 Show circle diameter in options form instead of radius

This commit is contained in:
Andrés Moya 2020-04-16 15:24:57 +02:00
parent f5e16eb469
commit e3d3751468
2 changed files with 9 additions and 9 deletions

View file

@ -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