mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 01:01:30 -05:00
Remove update-radius-attrs
event.
Replaced by the now generic `update-size` event.
This commit is contained in:
parent
95a72a3057
commit
b1e9936aa6
1 changed files with 0 additions and 11 deletions
|
@ -237,17 +237,6 @@
|
||||||
(when color {:stroke color})
|
(when color {:stroke color})
|
||||||
(when opacity {:stroke-opacity opacity})))))
|
(when opacity {:stroke-opacity opacity})))))
|
||||||
|
|
||||||
(defn update-radius-attrs
|
|
||||||
[sid {:keys [rx ry] :as opts}]
|
|
||||||
(reify
|
|
||||||
udp/IPageUpdate
|
|
||||||
rs/UpdateEvent
|
|
||||||
(-apply-update [_ state]
|
|
||||||
(update-in state [:shapes-by-id sid]
|
|
||||||
merge
|
|
||||||
(when rx {:rx rx})
|
|
||||||
(when ry {:ry ry})))))
|
|
||||||
|
|
||||||
(defn hide-shape
|
(defn hide-shape
|
||||||
[sid]
|
[sid]
|
||||||
(reify
|
(reify
|
||||||
|
|
Loading…
Add table
Reference in a new issue