From eaed5a580ca84f13724eb261fb858601150e6cfd Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 30 Mar 2020 09:25:44 +0200 Subject: [PATCH] :feet: adds class to icon layers --- frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs b/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs index 9393a8730..127719a89 100644 --- a/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/uxbox/main/ui/workspace/sidebar/layers.cljs @@ -145,7 +145,8 @@ :class (dom/classnames :selected selected? :dragging-TODO (:dragging? dprops))} - [:div.element-list-body {:class (dom/classnames :selected selected?) + [:div.element-list-body {:class (dom/classnames :selected selected? + :icon-layer (= (:type item) :icon)) :on-click select-shape :on-double-click #(dom/stop-propagation %)} [:& element-icon {:shape item}]