We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b40142f commit 9699703Copy full SHA for 9699703
Packages/com.unity.inputsystem/InputSystem/Plugins/UI/InputSystemUIInputModule.cs
@@ -2234,8 +2234,6 @@ private void FilterPointerStatesByType()
2234
// We have touch or tracked input. Kill mouse/pen pointer, if we have it.
2235
for (var i = 0; i < m_PointerStates.length; ++i)
2236
{
2237
- ref var state = ref GetPointerStateForIndex(i);
2238
- // Touch pointers need to get forced to no longer be pressed otherwise they will not get released in subsequent frames.
2239
if (m_PointerStates[i].pointerType == UIPointerType.MouseOrPen)
2240
2241
SendPointerExitEventsAndRemovePointer(i);
0 commit comments