Skip to content

Commit f49e7d8

Browse files
committed
Similar fix for action maps
1 parent cfaa8bd commit f49e7d8

File tree

1 file changed

+0
-2
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/Views

1 file changed

+0
-2
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/Views/ActionMapsView.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ public ActionMapsView(VisualElement root, StateContainer stateContainer)
6767
m_AddActionMapButton.clicked += AddActionMap;
6868

6969
ContextMenu.GetContextMenuForActionMapsEmptySpace(this, root.Q<VisualElement>("rclick-area-to-add-new-action-map"));
70-
// Only bring up this context menu for the List when it's empty, so we can treat it like right-clicking the empty space:
71-
ContextMenu.GetContextMenuForActionMapsEmptySpace(this, m_ListView, onlyShowIfListIsEmpty: true);
7270
}
7371

7472
void OnDroppedHandler(int mapIndex)

0 commit comments

Comments
 (0)