From aa5cbcce0de9fa11cc285cde1f8b7c660c8fa613 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 20 Jan 2016 22:41:03 +0200 Subject: [PATCH] Add debug attrs to group shape element. --- src/uxbox/ui/shapes.cljs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/uxbox/ui/shapes.cljs b/src/uxbox/ui/shapes.cljs index 51d575038..87e9a4196 100644 --- a/src/uxbox/ui/shapes.cljs +++ b/src/uxbox/ui/shapes.cljs @@ -43,10 +43,8 @@ (let [key (str "group-" id) tfm (-> (merge shape attrs) (svg/calculate-transform)) - attrs {:id key :key key :transform tfm} - attrs (-> (extract-attrs shape) - (make-debug-attrs) - (merge attrs)) + attrs (merge {:id key :key key :transform tfm} + (make-debug-attrs shape)) shapes-by-id (get @st/state :shapes-by-id)] (html [:g attrs