1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:35:35 +08:00

Fix skip button not being clickable after fade out

This commit is contained in:
Dean Herbert 2019-07-04 16:21:01 +09:00
parent f41c89c3be
commit a20d5baa57

View File

@ -201,14 +201,15 @@ namespace osu.Game.Screens.Play
protected override bool OnMouseDown(MouseDownEvent e)
{
Show();
scheduledHide?.Cancel();
return base.OnMouseDown(e);
return true;
}
protected override bool OnMouseUp(MouseUpEvent e)
{
Show();
return base.OnMouseUp(e);
return true;
}
public override void Hide() => State = Visibility.Hidden;