Skip to content

The canvas will now redraw if styles change #14

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

Merged
merged 4 commits into from
Apr 15, 2025
Merged

The canvas will now redraw if styles change #14

merged 4 commits into from
Apr 15, 2025

Conversation

davep
Copy link
Owner

@davep davep commented Apr 15, 2025

As part of this, I've made it so that the background is always grabbed when redrawing takes place; so if the user has decided they want to use the background of the widget as the canvas background, simply styling the background a new colour will result in the canvas updating.

Also document clear_pixel and clear_pixels.

As part of this, I've made it so that the background is always grabbed when
redrawing takes place; so if the user has decided they want to use the
`background` of the widget as the canvas background, simply styling the
background a new colour will result in the canvas updating.
@davep davep added the Enhancement New feature or request label Apr 15, 2025
@davep davep self-assigned this Apr 15, 2025
@davep davep added the Documentation Improvements or additions to documentation label Apr 15, 2025
@davep davep marked this pull request as ready for review April 15, 2025 10:30
@davep davep merged commit f01db1c into main Apr 15, 2025
5 checks passed
@davep davep deleted the observe-css branch April 15, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant