mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Hide manual input manager cursor in OsuGameTestScene
s
Allows checking that the cursor is actually hidden in `TestSceneOsuGame.TestCursorHidesWhenIdle`.
This commit is contained in:
@ -17,6 +17,7 @@ using osu.Framework.Testing;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Database;
|
||||
using osu.Game.Graphics.Cursor;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Overlays;
|
||||
@ -42,6 +43,8 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
protected override bool CreateNestedActionContainer => false;
|
||||
|
||||
protected override bool DisplayCursorForManualInput => false;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
@ -119,6 +122,8 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
public RealmAccess Realm => Dependencies.Get<RealmAccess>();
|
||||
|
||||
public new GlobalCursorDisplay GlobalCursorDisplay => base.GlobalCursorDisplay;
|
||||
|
||||
public new BackButton BackButton => base.BackButton;
|
||||
|
||||
public new BeatmapManager BeatmapManager => base.BeatmapManager;
|
||||
|
Reference in New Issue
Block a user