-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix function indicator bar on output port #13108
Conversation
@filipeotero When you have time, please review this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
{ | ||
PortDefaultValueMarkerVisible = false; | ||
} | ||
PortDefaultValueMarkerVisible = node.NodeModel.CachedValue != null && node.NodeModel.CachedValue.IsFunction; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need to check node.NodeModel.CachedValue.Data != null
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When node.NodeModel.CachedValue.Data is null, IsFunction will be false and the port marker will not be visible. So I think we don't need any additional check.
@QilongTang Removing those unused images that were left out from #13109. Sorry I mixed up branches and just consolidated it. |
@reddyashish Looks like there are regressions to fix |
This test WorkspaceContextMenu_IfSubmenuOpenOnMouseHover passes locally and passed on CI before. It just failed for some other reason. Looks flaky. Verified it locally. |
Latest CI job passed |
Purpose
Task: https://jira.autodesk.com/browse/DYN-5017
When the CachedValue is not a function, PortDefaultValueMarkerVisible should be set to false.
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Fix function indicator bar on output port
Reviewers
@QilongTang .