Skip to content

Commit 269222e

Browse files
Minor detail changes
1 parent e2b8693 commit 269222e

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

Assets/Tests/InputSystem/Plugins/UITests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ public IEnumerator UI_CanReleaseAndPressTouchesOnSameFrame()
19891989
Assert.That(scene.uiModule.m_PointerStates.length, Is.Zero);
19901990
}
19911991

1992-
//https://fogbugz.unity3d.com/f/cases/1190150/
1992+
// https://fogbugz.unity3d.com/f/cases/1190150/
19931993
[UnityTest]
19941994
[Category("UI")]
19951995
public IEnumerator UI_CanUseTouchSimulationWithUI()

Packages/com.unity.inputsystem/Editor/Analytics/InputActionsEditorSessionAnalytic.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ public InputActionsEditorSessionAnalytic(Data.Kind kind)
2727
{
2828
if (kind == Data.Kind.Invalid)
2929
throw new ArgumentException(nameof(kind));
30-
31-
30+
3231
Initialize(kind);
3332
}
3433

Packages/com.unity.inputsystem/Runtime/InputManager.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4303,13 +4303,7 @@ internal void RestoreStateWithoutDevices(SerializedState state)
43034303
m_HaveSentStartupAnalytics = state.haveSentStartupAnalytics;
43044304
#endif
43054305

4306-
// Restore available devices list so that GetUnsupportedDevices() and similar queries
4307-
// return the correct result before RestoreDevicesAfterDomainReload() runs.
4308-
/*if (state.availableDevices != null && state.availableDevices.Length > 0)
4309-
{
4310-
m_AvailableDevices = state.availableDevices;
4311-
m_AvailableDeviceCount = state.availableDevices.Length;
4312-
}*/
4306+
////REVIEW: instead of accessing globals here, we could move this to when we re-create devices
43134307

43144308
// Update state.
43154309
InputUpdate.Restore(state.updateState);

0 commit comments

Comments
 (0)