Skip to content

Commit

Permalink
Fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Dec 15, 2024
1 parent 1589bcd commit 50ff4d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 50ff4d9

Please sign in to comment.