There was an error while loading. Please reload this page.
1 parent 242f27e commit 6f8a9dcCopy full SHA for 6f8a9dc
1 file changed
Packages/com.unity.inputsystem/InputSystem/Editor/DeviceSimulator/InputSystemPlugin.cs
@@ -71,13 +71,20 @@ public override VisualElement OnCreateUI()
71
private void OnUpdate()
72
{
73
if (!EditorApplication.isPlaying)
74
+ {
75
+ if (m_ConflictingDevicesDisabled)
76
77
+ SetConflictingDevicesDisabled(false);
78
+ m_LastFocusedWindow = null;
79
+ }
80
return;
81
82
83
var focusedWindow = EditorWindow.focusedWindow;
84
if (focusedWindow == m_LastFocusedWindow)
85
-
86
m_LastFocusedWindow = focusedWindow;
87
+
88
var simulatorFocused =
89
m_RootElement != null
90
&& focusedWindow != null
0 commit comments