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 ThemeVariant equality #17257

Merged
merged 2 commits into from
Oct 12, 2024
Merged

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Oct 12, 2024

This PR fixes ThemeVariant.Equals which was incorrectly using reference equality for its key.
An existing unit test has been updated.

@MrJul MrJul added bug backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Oct 12, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0052609-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul enabled auto-merge October 12, 2024 09:15
@MrJul MrJul added this pull request to the merge queue Oct 12, 2024
Merged via the queue into AvaloniaUI:master with commit a04af7c Oct 12, 2024
11 checks passed
@MrJul MrJul deleted the fix/theme-variant-equality branch October 12, 2024 10:11
maxkatz6 pushed a commit that referenced this pull request Oct 27, 2024
* Added failing ThemeVariant theme

* Fixed ThemeVariant.Equals
@maxkatz6 maxkatz6 added backported-11.2.x and removed backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Oct 27, 2024
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.

3 participants