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

Children do not render parent gradient background correctly #1034

Open
kkoreilly opened this issue Jul 23, 2024 · 2 comments
Open

Children do not render parent gradient background correctly #1034

kkoreilly opened this issue Jul 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Milestone

Comments

@kkoreilly
Copy link
Member

Describe the bug

Children re-render the entire parent gradient background compressed in their bounding box instead of rendering the relevant section consistently with the parent.

How to reproduce

Look at the gradient example in the frame docs.

Example code

No response

Relevant output

No response

Platform

macOS

@kkoreilly kkoreilly added bug Something isn't working correctly confirmed This bug has been confirmed labels Jul 23, 2024
@kkoreilly kkoreilly added this to the v1 milestone Jul 23, 2024
@kkoreilly kkoreilly added blocker Must be resolved before a release and removed blocker Must be resolved before a release labels Jul 23, 2024
@kkoreilly kkoreilly modified the milestones: v0.3, v0.4 Jul 24, 2024
@kkoreilly
Copy link
Member Author

The issue here is that the gradient is updated in various places in paint based on the current bounding box, so somehow we need to inject the correct parent bounds into that.

@kkoreilly kkoreilly added this to Bugs Nov 18, 2024
@github-project-automation github-project-automation bot moved this to Todo in Bugs Nov 18, 2024
@kkoreilly
Copy link
Member Author

The same thing applies for other non-uniform backgrounds, such as images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Projects
Status: Todo
Development

No branches or pull requests

2 participants