From 09e28076cd6b767e901d7bbbc586509dd4670db2 Mon Sep 17 00:00:00 2001 From: Eva Date: Thu, 31 Aug 2023 10:22:03 +0200 Subject: [PATCH] :bug: Fix lock and hide tooltip --- .../src/app/main/ui/workspace/sidebar/layer_item.cljs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/layer_item.cljs b/frontend/src/app/main/ui/workspace/sidebar/layer_item.cljs index 6fc02c876..25bb03405 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/layer_item.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/layer_item.cljs @@ -336,10 +336,16 @@ [:div.element-actions {:class (when (:shapes item) "is-parent")} [:div.toggle-element {:class (when (:hidden item) "selected") + :title (if (:hidden item) + (tr "workspace.shape.menu.show") + (tr "workspace.shape.menu.hide")) :on-click toggle-visibility} (if (:hidden item) i/eye-closed i/eye)] [:div.block-element {:class (when (:blocked item) "selected") - :on-click toggle-blocking} + :on-click toggle-blocking + :title (if (:blocked item) + (tr "workspace.shape.menu.unlock") + (tr "workspace.shape.menu.lock"))} (if (:blocked item) i/lock i/unlock)]] (when (:shapes item)