mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Fix skip button not being clickable after fade out
This commit is contained in:
parent
f41c89c3be
commit
a20d5baa57
@ -201,14 +201,15 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
protected override bool OnMouseDown(MouseDownEvent e)
|
protected override bool OnMouseDown(MouseDownEvent e)
|
||||||
{
|
{
|
||||||
|
Show();
|
||||||
scheduledHide?.Cancel();
|
scheduledHide?.Cancel();
|
||||||
return base.OnMouseDown(e);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnMouseUp(MouseUpEvent e)
|
protected override bool OnMouseUp(MouseUpEvent e)
|
||||||
{
|
{
|
||||||
Show();
|
Show();
|
||||||
return base.OnMouseUp(e);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Hide() => State = Visibility.Hidden;
|
public override void Hide() => State = Visibility.Hidden;
|
||||||
|
Loading…
Reference in New Issue
Block a user