Skip to content

Conversation

bmalrat
Copy link
Collaborator

@bmalrat bmalrat commented Sep 18, 2024

Description

Contextual menu of Action maps contain wrong entries

Screenshot 2024-09-18 135055

Changes made

Fixed the contextual registration that registered on each item without unregistering.

Testing

local testing
Screenshot 2024-09-18 151847

Risk

Please describe the potential risks of your changes for the reviewers.

Checklist

Before review:

  • Changelog entry added.
    • Explains the change in Changed, Fixed, Added sections.
    • For API change contains an example snippet and/or migration example.
    • JIRA ticket linked, example (case %%). If it is a private issue, just add the case ID without a link.
    • Jira port for the next release set as "Resolved".
  • Tests added/changed, if applicable.
    • Functional tests Area_CanDoX, Area_CanDoX_EvenIfYIsTheCase, Area_WhenIDoX_AndYHappens_ThisIsTheResult.
    • Performance tests.
    • Integration tests.
  • Docs for new/changed API's.
    • Xmldoc cross references are set correctly.
    • Added explanation how the API works.
    • Usage code examples added.
    • The manual is updated, if needed.

During merge:

  • Commit message for squash-merge is prefixed with one of the list:
    • NEW: ___.
    • FIX: ___.
    • DOCS: ___.
    • CHANGE: ___.
    • RELEASE: 1.1.0-preview.3.

After merge:

  • Create forward/backward port if needed. If you are blocked from creating a forward port now please add a task to ISX-1444.

Copy link
Collaborator

@ritamerkl ritamerkl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice change

_ = new ContextualMenuManipulator(menuEvent =>
var manipulator = new ContextualMenuManipulator(menuEvent =>
{
//menuEvent.menu.ClearItems();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left over comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ho good catch thanks

### Fixed
- Fixed Multiple interactions could breaks on Composite Binding. [ISXB-619](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-619)
- Fixed memory leak when the OnScreenStick component was destroyed [ISXB-1070](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1070). Contribution by [LukeUnityDev](https://github.com/LukeUnityDev).
- Fixed Action Maps contextual menu in Action Editor UI that could display unrelated items.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only part I am stumbling over is the "could", but technically that's not wrong.

@bmalrat bmalrat force-pushed the fix-for-action-maps-contextual-menu branch from ffa537e to eb3996f Compare September 19, 2024 14:59
@bmalrat bmalrat requested a review from ritamerkl September 19, 2024 14:59
@bmalrat bmalrat requested a review from Pauliusd01 September 19, 2024 15:06
@Pauliusd01 Pauliusd01 merged commit 2934a64 into develop Sep 20, 2024
77 checks passed
@Pauliusd01 Pauliusd01 deleted the fix-for-action-maps-contextual-menu branch September 20, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants