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

Force rendering of Compass and VirtualHorizon on widget resizing #964

Merged
merged 2 commits into from
May 22, 2024

Conversation

rafaellehmkuhl
Copy link
Member

The canvas itself is being resized with the resizing of the widget (which happens when the user resized the window or the widget on edit-mode), which causes the canvas to be cleared. We solve this by forcing the render when the size changes.

Fix #909

Copy link
Contributor

@ArturoManzoli ArturoManzoli left a comment

Choose a reason for hiding this comment

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

Works very well

@ArturoManzoli ArturoManzoli merged commit 78e57f9 into bluerobotics:master May 22, 2024
9 checks passed
@rafaellehmkuhl rafaellehmkuhl deleted the fix-widgets-blank branch May 22, 2024 20:05
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.

Compass and VirtualHorizon widgets go blank after being resized
2 participants