1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 07:22:55 +08:00

Toolbar should block Hover events.

This commit is contained in:
Dean Herbert 2016-11-15 20:35:47 +09:00
parent a2d505af78
commit 0b8c307549

View File

@ -49,13 +49,12 @@ namespace osu.Game.Overlays
protected override bool OnHover(InputState state) protected override bool OnHover(InputState state)
{ {
gradientBackground.FadeIn(200); gradientBackground.FadeIn(200);
return base.OnHover(state); return true;
} }
protected override void OnHoverLost(InputState state) protected override void OnHoverLost(InputState state)
{ {
gradientBackground.FadeOut(200); gradientBackground.FadeOut(200);
base.OnHoverLost(state);
} }
public Toolbar() public Toolbar()