mirror of
https://github.com/ppy/osu
synced 2024-12-27 01:12:45 +00:00
Hide gameplay cursor when resume overlay is shown
This commit is contained in:
parent
13e1199229
commit
ca957f0994
@ -39,6 +39,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
public override void Show()
|
||||
{
|
||||
base.Show();
|
||||
GameplayCursor.ActiveCursor.Hide();
|
||||
cursorScaleContainer.MoveTo(GameplayCursor.ActiveCursor.Position);
|
||||
clickToResumeCursor.Appear();
|
||||
|
||||
@ -54,6 +55,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
{
|
||||
localCursorContainer?.Expire();
|
||||
localCursorContainer = null;
|
||||
GameplayCursor.ActiveCursor.Show();
|
||||
|
||||
base.Hide();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user