mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +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)
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user