Skip to content

Update refresh to force immediate redraw with display.refresh() #3366

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 12 commits into from
Sep 2, 2020

Conversation

kmatch98
Copy link

@kmatch98 kmatch98 commented Sep 1, 2020

Update display.refresh to force immediate redraw with display.refresh() or display.refresh(target_frames_per_second=None), even with auto_refresh=False.

This is to resolve: #2696

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you for this! Just a couple tweaks to make. Don't forget to update the function signature in the doc comment too.

@kmatch98
Copy link
Author

kmatch98 commented Sep 2, 2020

Ok I think the docs are now ready to go.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you!

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.

new functionality for displayio refresh() to support a simple, immediate refresh
2 participants