MenuItem focuses on hover

Styles should remove MenuItem[hover] styling
This commit is contained in:
Sasha Koshka 2024-08-24 14:37:44 -04:00
parent 8469962c90
commit 8432cc70da

View File

@ -38,6 +38,8 @@ func NewIconMenuItem (icon tomo.Icon, text string) *MenuItem {
box.Add(box.label) box.Add(box.label)
box.SetInputMask(true) box.SetInputMask(true)
box.OnMouseEnter(box.handleMouseEnter)
box.OnMouseLeave(box.handleMouseLeave)
box.OnButtonDown(box.handleButtonDown) box.OnButtonDown(box.handleButtonDown)
box.OnButtonUp(box.handleButtonUp) box.OnButtonUp(box.handleButtonUp)
box.OnKeyDown(box.handleKeyDown) box.OnKeyDown(box.handleKeyDown)