Skip to content

Commit 1e95882

Browse files
committed
Restored deserialization of setting
1 parent 20e6920 commit 1e95882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4161,7 +4161,7 @@ internal void RestoreStateWithoutDevices(SerializedState state)
41614161
scrollDeltaBehavior = state.scrollDeltaBehavior;
41624162
m_Metrics = state.metrics;
41634163
m_PollingFrequency = state.pollingFrequency;
4164-
m_InputEventHandledPolicy = InputEventHandledPolicy.SuppressStateUpdates; // TODO Make sure we always restore: state.inputEventHandledPolicy;
4164+
m_InputEventHandledPolicy = state.inputEventHandledPolicy;
41654165

41664166
if (m_Settings != null)
41674167
Object.DestroyImmediate(m_Settings);

0 commit comments

Comments
 (0)