mirror of
https://github.com/ppy/osu
synced 2025-01-30 01:42:54 +00:00
Fix test regression due to mouse overlapping settings overlay
This commit is contained in:
parent
e324287f79
commit
db74a226c0
@ -19,6 +19,10 @@ namespace osu.Game.Tests.Visual.Menus
|
||||
base.SetUpSteps();
|
||||
|
||||
AddAssert("no screen offset applied", () => Game.ScreenOffsetContainer.X == 0f);
|
||||
|
||||
// avoids mouse interacting with settings overlay.
|
||||
AddStep("move mouse to centre", () => InputManager.MoveMouseTo(Game.ScreenSpaceDrawQuad.Centre));
|
||||
|
||||
AddUntilStep("wait for overlays", () => Game.Settings.IsLoaded && Game.Notifications.IsLoaded);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user