fix(ags): use different hover events for network widget
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-11-21 17:22:07 -05:00
parent e697963b46
commit de12e2302f

View file

@ -14,8 +14,8 @@ export default () => {
className="bar-item network" className="bar-item network"
cursor="pointer" cursor="pointer"
onHover={() => Hovered.set(true)} onEnterNotifyEvent={() => Hovered.set(true)}
onHoverLost={() => Hovered.set(false)} onLeaveNotifyEvent={() => Hovered.set(false)}
> >
{bind(network, 'primary').as((primary) => { {bind(network, 'primary').as((primary) => {
if (primary === AstalNetwork.Primary.UNKNOWN) { if (primary === AstalNetwork.Primary.UNKNOWN) {