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
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ protected override void LoadComplete()
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());