Merge pull request #14686 from Joehuu/volume-meter-select-on-hover

Fix volume meter not being highlighted when hovering before show
This commit is contained in:
Dan Balasescu
2021-09-09 12:13:13 +09:00
committed by GitHub

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)
{
}