Skip to content

Commit 20c72a9

Browse files
Apply suggestion from @u-pr-agent[bot]
Co-authored-by: u-pr-agent[bot] <205906871+u-pr-agent[bot]@users.noreply.github.com>
1 parent 25a5632 commit 20c72a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/Tests/TestFixture/InputTestFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ public void Trigger(InputAction action)
800800
var values = Enum.GetValues(typeof(TouchPhase));
801801
var index = Array.IndexOf(values, phase);
802802
var newIndex = (index + 1) % values.Length;
803-
Set(touchPhaseControl, phase);
803+
Set(touchPhaseControl, (TouchPhase)values.GetValue(newIndex));
804804

805805
return;
806806
}

0 commit comments

Comments
 (0)