diff --git a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs index 9ac44acf4..6fa7ecfad 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs @@ -120,7 +120,8 @@ (dom/stop-propagation event) (if (:blocked item) (st/emit! (dw/update-shape-flags id {:blocked false})) - (st/emit! (dw/update-shape-flags id {:blocked true})))) + (st/emit! (dw/update-shape-flags id {:blocked true}) + (dw/select-shape id true)))) toggle-visibility (fn [event]