You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR addresses DYN-7840 and follows up on feedback from DYN-8055.
Changes in the logic on PortViewModel ensure that the Windows display scale (dpi) factor is taken into account when positioning the port context menu popup. The adjustment primarily affects the horizontal placement, making sure the chevron arrow remains visually centered relative to the port across different scaling levels.
The Data path for the popup chevron arrows has been updated to improve vertical alignment. This ensures the arrow appears centered within the popup body, especially at smaller zoom levels, where it previously gave the impression of being slightly off-center.
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
A fix addressing inaccurate popup placement for input nodes in collapsed groups by incorporating DPI scaling adjustments and improving arrow alignment.
Incorporates DPI scaling (via GetDpiScale) into placement logic in PortViewModel, adjusting both left and right context menu popups.
Adjusts Y-coordinate calculation in PlacePortContextMenu to ensure proper alignment across various DPI settings.
Updates the vector path Data in InPortContextMenu.xaml to improve the vertical centering of chevron arrows.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR addresses DYN-7840 and follows up on feedback from DYN-8055.
Changes in the logic on
PortViewModel
ensure that the Windows display scale (dpi) factor is taken into account when positioning the port context menu popup. The adjustment primarily affects the horizontal placement, making sure the chevron arrow remains visually centered relative to the port across different scaling levels.The
Data
path for the popup chevron arrows has been updated to improve vertical alignment. This ensures the arrow appears centered within the popup body, especially at smaller zoom levels, where it previously gave the impression of being slightly off-center.Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Fixed placement of Context menu popup for nodes in collapsed groups.
Reviewers
@DynamoDS/eidos
@jasonstratton
FYIs
@dnenov
@achintyabhat