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:
parent
a2d505af78
commit
0b8c307549
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user