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

Invalidate max, min, & hist before updateOverlay & redraw #1293

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

argilo
Copy link
Member

@argilo argilo commented Oct 1, 2023

Partially addresses #1282.

When zooming, max/min hold data are often incorrect, combining the previous & current zoom levels. This happens because the span and center frequency are changed, and then updateOverlay (and draw) are called, but max/min hold data are still marked as valid. Moving the invalidations before the updateOverlay call (as is the case elsewhere) solves the problem.

@argilo argilo added the bug label Oct 1, 2023
@argilo argilo merged commit a940070 into master Oct 1, 2023
22 checks passed
@argilo argilo deleted the fix-invalidation-order branch October 1, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant