mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
✨ Change menu to add show/hide ui
This commit is contained in:
parent
e1348725c1
commit
93174f54a3
1 changed files with 6 additions and 1 deletions
|
@ -326,7 +326,12 @@
|
|||
[:span
|
||||
(if (contains? layout :display-artboard-names)
|
||||
(tr "workspace.header.menu.hide-artboard-names")
|
||||
(tr "workspace.header.menu.show-artboard-names"))]]]]
|
||||
(tr "workspace.header.menu.show-artboard-names"))]]
|
||||
|
||||
[:li {:on-click #(st/emit! (dw/toggle-layout-flags :hide-ui))}
|
||||
[:span
|
||||
(tr "workspace.shape.menu.hide-ui")]
|
||||
[:span.shortcut (sc/get-tooltip :hide-ui)]]]]
|
||||
|
||||
[:& dropdown {:show (= @show-sub-menu? :preferences)
|
||||
:on-close #(reset! show-sub-menu? false)}
|
||||
|
|
Loading…
Add table
Reference in a new issue