mirror of
https://github.com/penpot/penpot.git
synced 2025-02-18 21:06:11 -05:00
Fix selected class on new buttons on header.
This commit is contained in:
parent
5e8f741c2f
commit
b5176fe7a1
1 changed files with 3 additions and 3 deletions
|
@ -38,17 +38,17 @@
|
||||||
[:ul.options-btn
|
[:ul.options-btn
|
||||||
[:li.tooltip.tooltip-bottom
|
[:li.tooltip.tooltip-bottom
|
||||||
{:alt "Shapes (Ctrl + Shift + F)"
|
{:alt "Shapes (Ctrl + Shift + F)"
|
||||||
:class (when (contains? flags :drawtools) "current")
|
:class (when (contains? flags :drawtools) "selected")
|
||||||
:on-click (partial toggle :drawtools)}
|
:on-click (partial toggle :drawtools)}
|
||||||
i/shapes]
|
i/shapes]
|
||||||
[:li.tooltip.tooltip-bottom
|
[:li.tooltip.tooltip-bottom
|
||||||
{:alt "Icons (Ctrl + Shift + I)"
|
{:alt "Icons (Ctrl + Shift + I)"
|
||||||
:class (when (contains? flags :icons) "current")
|
:class (when (contains? flags :icons) "selected")
|
||||||
:on-click (partial toggle :icons)}
|
:on-click (partial toggle :icons)}
|
||||||
i/icon-set]
|
i/icon-set]
|
||||||
[:li.tooltip.tooltip-bottom
|
[:li.tooltip.tooltip-bottom
|
||||||
{:alt "Elements (Ctrl + Shift + L)"
|
{:alt "Elements (Ctrl + Shift + L)"
|
||||||
:class (when (contains? flags :layers) "current")
|
:class (when (contains? flags :layers) "selected")
|
||||||
:on-click (partial toggle :layers)}
|
:on-click (partial toggle :layers)}
|
||||||
i/layers]]
|
i/layers]]
|
||||||
[:ul.options-btn
|
[:ul.options-btn
|
||||||
|
|
Loading…
Add table
Reference in a new issue