mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 16:39:49 -05:00
Merge pull request #3579 from penpot/eva-refix-lock-title
🐛 Fix lock and hide tooltip
This commit is contained in:
commit
203c0ed87d
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue