mirror of https://github.com/ppy/osu
Make OsuButton correctly block hover events
This commit is contained in:
parent
d33b31f0c5
commit
0a11cbf656
|
@ -59,7 +59,7 @@ private void enabledChanged(ValueChangedEvent<bool> e)
|
|||
protected override bool OnHover(HoverEvent e)
|
||||
{
|
||||
hover.FadeIn(200);
|
||||
return base.OnHover(e);
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void OnHoverLost(HoverLostEvent e)
|
||||
|
|
Loading…
Reference in New Issue