1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +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)
{
gradientBackground.FadeIn(200);
return base.OnHover(state);
return true;
}
protected override void OnHoverLost(InputState state)
{
gradientBackground.FadeOut(200);
base.OnHoverLost(state);
}
public Toolbar()