-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Improve DevTools previewer of setter values by including all value priorities #13802
Conversation
You can test this PR using the following package version. |
You can test this PR using the following package version. |
# Conflicts: # api/Avalonia.nupkg.xml # src/Avalonia.Base/PropertyStore/ValueStore.cs
You can test this PR using the following package version. |
What does the pull request do?
Previously only style setters were included in the list, which confused developers when local value overrides their styles.
What is the current behavior?
We have a button with a couple of properties set with local priority:
But old dev tools do not show these values:
What is the updated/expected behavior with this PR?
It's less confusing with this PR:
Note: information about dynamic resources is not preserved with non-setter values. We can't really show it to the developers.
Breaking changes
Old
Avalonia.Diagnostics.AppliedStyle
type and related were removed. But I believe this change is justified for 11.1.Fixes #13887