Skip to content

Commit 01cf85d

Browse files
committed
Update based on Copilot suggestions
1 parent 4343463 commit 01cf85d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/Tests/InputSystem/Plugins/UITests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ public IEnumerator UI_CanDriveUIFromMultiplePointers(UIPointerBehavior pointerBe
15331533
[Category("UI")]
15341534
[Description("Tests that disabling the UI module during a Button click event works correctly with touch pointers." +
15351535
"ISXB-687")]
1536-
public IEnumerator UI_DisablingEventSystemOnClickEventWorksWithTouchPointersWorks()
1536+
public IEnumerator UI_DisablingEventSystemOnClickEventWorksWithTouchPointers()
15371537
{
15381538
var touch = InputSystem.AddDevice<Touchscreen>();
15391539
var scene = CreateTestUI();

Packages/com.unity.inputsystem/InputSystem/Plugins/UI/InputSystemUIInputModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ private bool SendPointerExitEventsAndRemovePointer(int index)
20702070

20712071
private bool RemovePointerAtIndex(int index)
20722072
{
2073-
// Pointers can have be reset before (e.g. when calling OnDisable) which would make m_PointerStates
2073+
// Pointers might have been reset before (e.g. when calling OnDisable) which would make m_PointerStates
20742074
// empty (ISXB-687).
20752075
if (m_PointerStates.length == 0)
20762076
return false;

0 commit comments

Comments
 (0)