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

Correctly render Shape Background (and BackgroundColor) #5994

Merged
merged 4 commits into from
Apr 26, 2022
Merged

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Apr 12, 2022

Description of Change

Correctly render Shape Background (and BackgroundColor).

image

To test the changes, navigate to the Shapes samples in the .NET MAUI Gallery. In the Aspect sample every shape (Path) use a gray BackgroundColor.

Issues Fixed

Fixes #5974

@jsuarezruiz jsuarezruiz added t/bug Something isn't working area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing labels Apr 12, 2022
[InlineData(0xFF0000)]
[InlineData(0x00FF00)]
[InlineData(0x0000FF)]
public async Task BackgroundInitializesCorrectly(uint color)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the PR to include a device test.

@jsuarezruiz jsuarezruiz requested a review from Redth April 22, 2022 11:52
@jsuarezruiz jsuarezruiz merged commit 085db1f into main Apr 26, 2022
@jsuarezruiz jsuarezruiz deleted the fix-5974 branch April 26, 2022 10:51
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting BackgroundColor from code doesn't do anything for Shapes
2 participants