From 073281f2fa9f2b24f9875627849c756a078b1b9f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 21 Jan 2016 18:31:34 +0200 Subject: [PATCH] Add hide functionality to group members. --- src/uxbox/ui/shapes.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uxbox/ui/shapes.cljs b/src/uxbox/ui/shapes.cljs index 135a2dfc2f..be97b09ba4 100644 --- a/src/uxbox/ui/shapes.cljs +++ b/src/uxbox/ui/shapes.cljs @@ -48,7 +48,9 @@ shapes-by-id (get @st/state :shapes-by-id)] (html [:g attrs - (for [item (map #(get shapes-by-id %) items)] + (for [item (->> items + (map #(get shapes-by-id %)) + (remove :hidden))] (shapes/-render item nil))]))) (defmethod shapes/-render-svg :builtin/icon