Skip to content

Commit 1c4fa6d

Browse files
Add final cleanup for code review.
1 parent 7b43564 commit 1c4fa6d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/InputActionsEditorWindow.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Therefore the UITK version of the InputActionAsset Editor is not available on earlier Editor versions either.
33
#if UNITY_EDITOR && UNITY_INPUT_SYSTEM_PROJECT_WIDE_ACTIONS
44
using System;
5-
using System.Collections.Generic;
65
using System.Linq;
76
using UnityEditor;
87
using UnityEditor.Callbacks;
@@ -273,7 +272,6 @@ private void BuildUI()
273272
m_StateContainer.StateChanged += OnStateChanged;
274273

275274
rootVisualElement.Clear();
276-
277275
if (!rootVisualElement.styleSheets.Contains(InputActionsEditorWindowUtils.theme))
278276
rootVisualElement.styleSheets.Add(InputActionsEditorWindowUtils.theme);
279277
m_View = new InputActionsEditorView(rootVisualElement, m_StateContainer, false, () => Save(isAutoSave: false));
@@ -514,7 +512,6 @@ public void OnAssetImported()
514512
return;
515513
}
516514

517-
// We set shouldClearRootVisualElement to false here as we don't want the root visual element's child elements to be closed during an auto save.
518515
SetAsset(AssetDatabase.LoadAssetAtPath<InputActionAsset>(assetPath));
519516
}
520517

0 commit comments

Comments
 (0)