You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/Tests/InputSystem/Plugins/EnhancedTouchTests.cs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ public void EnhancedTouch_SupportsEditorUpdates(InputSettings.UpdateMode updateM
172
172
// Switch back to player.
173
173
ScheduleFocusEvent(true);
174
174
175
-
// We have to schedule the specificic update type that the player is configured to process events in,
175
+
// We have to schedule the specific update type that the player is configured to process events in,
176
176
// otherwise we will end up using defaultUpdateType, which due to the fact we do not have focus in pre-update yet,
177
177
// will be Editor, which means that we will end up swapping buffers to the editor buffer, and retreiving the wrong active touch
178
178
// The only way to properly fix this, is to remove defaultUpdateType, and split the player/editor update loops into separate methods, which would be a breaking change.
@@ -1187,7 +1187,6 @@ public void EnhancedTouch_ActiveTouchesGetCanceledOnFocusLoss_WithRunInBackgroun
1187
1187
else
1188
1188
{
1189
1189
// When not running in the background, the same thing happens but only on focus gain.
0 commit comments