1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Apply review comment

This commit is contained in:
Shivam 2020-06-10 08:04:34 +02:00
parent aacacd75f0
commit 0f39558da2
3 changed files with 9 additions and 13 deletions

View File

@ -19,9 +19,6 @@ namespace osu.Game.Tournament.Tests
Depth = 10 Depth = 10
}, AddInternal); }, AddInternal);
MenuCursorContainer.Cursor.AlwaysPresent = true;
MenuCursorContainer.Cursor.Alpha = 0;
// Have to construct this here, rather than in the constructor, because // Have to construct this here, rather than in the constructor, because
// we depend on some dependencies to be loaded within OsuGameBase.load(). // we depend on some dependencies to be loaded within OsuGameBase.load().
Add(new TestBrowser()); Add(new TestBrowser());

View File

@ -111,15 +111,5 @@ namespace osu.Game.Tournament
} }
}); });
} }
protected override void LoadComplete()
{
MenuCursorContainer.Cursor.AlwaysPresent = true; // required for tooltip display
// we don't want to show the menu cursor as it would appear on stream output.
MenuCursorContainer.Cursor.Alpha = 0;
base.LoadComplete();
}
} }
} }

View File

@ -228,6 +228,15 @@ namespace osu.Game.Tournament
API.Queue(req); API.Queue(req);
} }
protected override void LoadComplete()
{
MenuCursorContainer.Cursor.AlwaysPresent = true; // required for tooltip display
// we don't want to show the menu cursor as it would appear on stream output.
MenuCursorContainer.Cursor.Alpha = 0;
base.LoadComplete();
}
protected virtual void SaveChanges() protected virtual void SaveChanges()
{ {