mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:43:21 +08:00
Make OsuButton correctly block hover events (#6636)
Make OsuButton correctly block hover events
This commit is contained in:
commit
dbee63c1a6
@ -59,7 +59,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
protected override bool OnHover(HoverEvent e)
|
protected override bool OnHover(HoverEvent e)
|
||||||
{
|
{
|
||||||
hover.FadeIn(200);
|
hover.FadeIn(200);
|
||||||
return base.OnHover(e);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnHoverLost(HoverLostEvent e)
|
protected override void OnHoverLost(HoverLostEvent e)
|
||||||
|
Loading…
Reference in New Issue
Block a user