mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 08:46:10 +02:00
✨ Enable locking of artboards and enhance visualization
This commit is contained in:
parent
e443ae0962
commit
67a481356b
4 changed files with 6 additions and 6 deletions
|
@ -47,6 +47,7 @@
|
|||
(def line (icon-xref :line))
|
||||
(def loader (icon-xref :loader))
|
||||
(def lock (icon-xref :lock))
|
||||
(def lock-open (icon-xref :lock-open))
|
||||
(def logo (icon-xref :uxbox-logo))
|
||||
(def logo-icon (icon-xref :uxbox-logo-icon))
|
||||
(def mail (icon-xref :mail))
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
(if (:hidden item) i/eye-closed i/eye)]
|
||||
[:div.block-element {:class (when (:blocked item) "selected")
|
||||
:on-click toggle-blocking}
|
||||
i/lock]]
|
||||
(if (:blocked item) i/lock i/lock-open)]]
|
||||
|
||||
(when (:shapes item)
|
||||
[:span.toggle-content
|
||||
|
@ -268,9 +268,9 @@
|
|||
[:div.toggle-element {:class (when (:hidden item) "selected")
|
||||
:on-click toggle-visibility}
|
||||
(if (:hidden item) i/eye-closed i/eye)]
|
||||
#_[:div.block-element {:class (when (:blocked item) "selected")
|
||||
[:div.block-element {:class (when (:blocked item) "selected")
|
||||
:on-click toggle-blocking}
|
||||
i/lock]]
|
||||
(if (:blocked item) i/lock i/lock-open)]]
|
||||
|
||||
[:span.toggle-content
|
||||
{:on-click toggle-collapse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue