Skip to content

Add canvas.set_update_mode() #83

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 3 commits into from
May 12, 2025
Merged

Add canvas.set_update_mode() #83

merged 3 commits into from
May 12, 2025

Conversation

almarklein
Copy link
Member

@almarklein almarklein commented May 9, 2025

This allows setting the update_mode and max_fps at runtime. Ref #79

API changes

The default min_fps was changed from 1 to 0, so that with update-mode 'ondemand' there really are no draws except from resizes.

@almarklein almarklein marked this pull request as ready for review May 12, 2025 08:07
@almarklein almarklein merged commit d8fd360 into main May 12, 2025
13 checks passed
@almarklein almarklein deleted the update-mode branch May 12, 2025 08:10
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.

2 participants