Skip to content
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 devtools selection highlight requiring direct hover over the control #5949

Merged
merged 2 commits into from
May 19, 2021

Conversation

MarchingCube
Copy link
Collaborator

@MarchingCube MarchingCube commented May 19, 2021

What does the pull request do?

Fixes fairly annoying issue that requires hovering over the element name to see the bounds adorner.

What is the current behavior?

One has to zig zag through dev tools tree view to actually follow control bounds.

What is the updated/expected behavior with this PR?

Entire element area applies bounds adorner.

devtools-tree-highlight.mp4

How was the solution implemented (if it's not obvious)?

It depends on the default tree view item template to find a control that represents the header but excludes children.
We want to exclude children since pointer enter/leave events bubble and cause all sort of problems for the current implementation.

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@danwalmsley danwalmsley merged commit 59b5d9b into AvaloniaUI:master May 19, 2021
danwalmsley pushed a commit that referenced this pull request May 19, 2021
Fix devtools selection highlight requiring direct hover over the control
@MarchingCube MarchingCube deleted the ux-treepage-highlight branch May 19, 2021 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants