Skip to content

Commit b803b1d

Browse files
committed
Removed if statement and TODO since IMESelected should either not be in allKeys or if it is present it should not evaluate to a non-null control.
1 parent 3f3c528 commit b803b1d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Assets/Tests/InputSystem/CorePerformanceTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ public void Performance_ReadEveryKey()
126126
int keyIndex = 0;
127127
foreach (var key in keyboard.allKeys)
128128
{
129-
if (++keyIndex == (int)KeyEx.IMESelected) // Skip IMESelected as it's not a real key. TODO This is incorrect, it should not even be there
130-
continue;
131129
key.ReadValue();
132130
}
133131
})

0 commit comments

Comments
 (0)