1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +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 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());