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

Propagate frame rate cap changes to each ZoneRenderer #4361

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Nov 2, 2023

Identify the Bug or Feature request

Fixes #4335

Description of the Change

The DebounceExecutor is now allows its delay to be modified so that existing maps can receive updates to the frame rate cap. Now that the delay can change, it has been made an AtomicLong instead of a plain long.

Possible Drawbacks

An extra frame can be rendered around the time that the cap is modified.

Documentation Notes

N/A

Release Notes

  • The frame rate cap is now consistently applied to existing maps after being changed.

This change is Reviewable

The `DebounceExecutor` is now able to modify its delay so that existing maps can receive updates to the frame rate cap.
@cwisniew cwisniew added this pull request to the merge queue Nov 3, 2023
Merged via the queue into RPTools:develop with commit 42803ca Nov 3, 2023
4 checks passed
@cwisniew cwisniew added the bug label Nov 3, 2023
@kwvanderlinde kwvanderlinde deleted the bugfix/4335-apply-frame-rate-preference-to-all-maps branch November 8, 2023 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

[Bug]: Frame rate preference is only applied to newly loaded maps
3 participants