1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

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
commit 88dd83f6ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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