Hide gameplay cursor when resume overlay is shown

This commit is contained in:
HoLLy 2019-10-19 11:52:07 +02:00
parent 13e1199229
commit ca957f0994

View File

@ -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();
}