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

widgets: Fix canvas rendering for widgets that are in the background #1193

Merged

Conversation

rafaellehmkuhl
Copy link
Member

The thing was that they were in the background when mounted, so their canvas contexts were not in the DOM or had zero heigh/weight, causing the initial render to fail.
With this PR they are always rendered when they appear on the screen.

Fix #1154

@ArturoManzoli ArturoManzoli merged commit 958a3c5 into bluerobotics:master Aug 7, 2024
9 checks passed
@rafaellehmkuhl rafaellehmkuhl deleted the fix-canvas-intantiations branch August 8, 2024 00:28
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.

Canvas widgets (except the Attitude) do not render if there's no data from the vehicle...
2 participants