Skip to content

Commit 50ff4d9

Browse files
committed
Fix failing test case
1 parent 1589bcd commit 50ff4d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: osu.Framework.Tests/Visual/Input/TestScenePassThroughInputManager.cs

+1
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ public void TestMouseTouchProductionOnPassThrough()
268268

269269
AddStep("end touch", () => InputManager.EndTouch(new Touch(TouchSource.Touch1, testInputManager.ScreenSpaceDrawQuad.Centre)));
270270

271+
AddStep("bring back mouse", () => InputManager.MoveMouseTo(testInputManager));
271272
AddStep("press mouse", () => InputManager.PressButton(MouseButton.Left));
272273
AddAssert("pass-through handled mouse", () => testInputManager.CurrentState.Mouse.Buttons.Single() == MouseButton.Left);
273274
}

0 commit comments

Comments
 (0)