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 RadialGradientBrush.Radius obsolete usages #14774

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Feb 29, 2024

What does the pull request do?

This PR fixes the remaining usages of the now obsolete RadialGradientBrush.Radius.
The only usages left are for compatibility purposes, with their warnings ignored.

Note that the Obsolete attribute has been removed from the RelativePoint.ToPixels(Size) overload after discussion, since its use case is a bit different from the Rect one.

@avaloniaui-bot
Copy link

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

@maxkatz6 maxkatz6 added this pull request to the merge queue Feb 29, 2024
Merged via the queue into AvaloniaUI:master with commit a634743 Mar 1, 2024
6 checks passed
@MrJul MrJul deleted the fix/obsolete-radius-warnings branch March 1, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants