1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 14:07:25 +08:00

Hide in-game cursor manually in the testbrowser

This commit is contained in:
Shivam 2020-06-09 20:40:54 +02:00
parent af05ee67cb
commit c9b4fa92f5

View File

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