Fix volume meter not being highlighted when hovering before show

This commit is contained in:
Joseph Madamba 2021-09-08 11:43:59 -07:00
parent 2c6ee0ebf7
commit 9b05bf3a2c

View File

@ -355,6 +355,12 @@ namespace osu.Game.Overlays.Volume
return base.OnMouseMove(e);
}
protected override bool OnHover(HoverEvent e)
{
State = SelectionState.Selected;
return false;
}
protected override void OnHoverLost(HoverLostEvent e)
{
}