1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 20:06:30 +08:00

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
Unverified
parent 2c6ee0ebf7
commit 9b05bf3a2c
+6
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)
{
}