Skip to content

Commit cfaa8bd

Browse files
committed
FIX: Context menu issue on 2022.3, seems valid also on 6000.21f
1 parent 2e0efff commit cfaa8bd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ however, it has to be formatted properly to pass verification tests.
1010

1111
## [Unreleased] - yyyy-mm-dd
1212

13-
13+
### Fixed
14+
- Fixed an issue causing the Action context menu to not show on right click when right clicking an action in the Input Action Editor [ISXB-1134](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1134).
1415

1516
## [1.11.2] - 2024-10-16
1617

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ public ActionsTreeView(VisualElement root, StateContainer stateContainer)
124124

125125
ContextMenu.GetContextMenuForActionListView(this, m_ActionsTreeView, m_ActionsTreeView.parent);
126126
ContextMenu.GetContextMenuForActionsEmptySpace(this, m_ActionsTreeView, root.Q<VisualElement>("rclick-area-to-add-new-action"));
127-
// Only bring up this context menu for the Tree when it's empty, so we can treat it like right-clicking the empty space:
128-
//ContextMenu.GetContextMenuForActionsEmptySpace(this, m_ActionsTreeView, m_ActionsTreeView, onlyShowIfTreeIsEmpty: true);
129-
127+
130128
m_ActionsTreeViewSelectionChangeFilter = new CollectionViewSelectionChangeFilter(m_ActionsTreeView);
131129
m_ActionsTreeViewSelectionChangeFilter.selectedIndicesChanged += (_) =>
132130
{

0 commit comments

Comments
 (0)