Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 5, 2024

Backport of 3ace63b from #2922.

* Do not stretch the background

When resizing a view, the background will be stretched making the image distorted and not a great experience.

This PR make sure to never scale the background brush and rather keep it top-left aligned.

* Update SKXamlCanvas.cs

* Scale the brush instead of stretching it

(cherry picked from commit 3ace63b)
@github-actions github-actions bot added the backport This PR is an automatic backport. label Jul 5, 2024
Copy link
Contributor

@taublast taublast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't see this in action but the code looks fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is an automatic backport.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants