diff --git a/osu.Framework.Tests/Visual/Input/TestScenePassThroughInputManager.cs b/osu.Framework.Tests/Visual/Input/TestScenePassThroughInputManager.cs index 7de2f5014d..f6023fc0da 100644 --- a/osu.Framework.Tests/Visual/Input/TestScenePassThroughInputManager.cs +++ b/osu.Framework.Tests/Visual/Input/TestScenePassThroughInputManager.cs @@ -268,6 +268,7 @@ public void TestMouseTouchProductionOnPassThrough() AddStep("end touch", () => InputManager.EndTouch(new Touch(TouchSource.Touch1, testInputManager.ScreenSpaceDrawQuad.Centre))); + AddStep("bring back mouse", () => InputManager.MoveMouseTo(testInputManager)); AddStep("press mouse", () => InputManager.PressButton(MouseButton.Left)); AddAssert("pass-through handled mouse", () => testInputManager.CurrentState.Mouse.Buttons.Single() == MouseButton.Left); }