mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 16:26:37 +02:00
add secondary options
This commit is contained in:
parent
3984da6c0f
commit
799ce01f14
2 changed files with 47 additions and 26 deletions
|
@ -176,16 +176,16 @@
|
|||
{:alt (tr "header.grid-snap")
|
||||
:class (when (contains? flags :grid-snap) "selected")
|
||||
:on-click (partial toggle :grid-snap)}
|
||||
i/grid-snap]]
|
||||
i/grid-snap]]]
|
||||
;; [:li.tooltip.tooltip-bottom
|
||||
;; {:alt (tr "header.align")}
|
||||
;; i/alignment]]
|
||||
[:ul.options-btn
|
||||
[:li.tooltip.tooltip-bottom.view-mode
|
||||
{:alt (tr "header.view-mode")
|
||||
;;[:& user]
|
||||
[:div.secondary-options
|
||||
[:& zoom-widget]
|
||||
[:a.tooltip.tooltip-bottom.view-mode
|
||||
{:alt (tr "header.view-mode")
|
||||
;; :on-click #(st/emit! (dw/->OpenView (:id page)))
|
||||
}
|
||||
i/play]]]
|
||||
;;[:& user]
|
||||
[:& zoom-widget]
|
||||
i/play]]
|
||||
]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue