From b1e9936aa6552bde75e9c7ffb0bcdfeedc98be56 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 29 Sep 2016 07:13:38 +0200 Subject: [PATCH] Remove `update-radius-attrs` event. Replaced by the now generic `update-size` event. --- src/uxbox/main/data/shapes.cljs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/uxbox/main/data/shapes.cljs b/src/uxbox/main/data/shapes.cljs index 45a1bb5c2..0deda716b 100644 --- a/src/uxbox/main/data/shapes.cljs +++ b/src/uxbox/main/data/shapes.cljs @@ -237,17 +237,6 @@ (when color {:stroke color}) (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 [sid] (reify