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

fix:Improve scrolling window size #85

Merged

Conversation

michbil
Copy link
Contributor

@michbil michbil commented Feb 1, 2025

During scroll we are spreading draw distance evenly to the top and to the bottom. But during fast scroll we are actually rendering invisible region oposite to the scroll direction. scrollExtra value mitigates the issue, but it doesn't really help with big draw distances.

@michbil michbil force-pushed the optimization/dynamic-window-optimization branch from ca6d43a to 29bef98 Compare February 11, 2025 11:49
@michbil michbil force-pushed the optimization/dynamic-window-optimization branch from 29bef98 to a657e82 Compare February 11, 2025 11:52
@michbil michbil marked this pull request as ready for review February 11, 2025 11:53
@michbil michbil changed the title Improve scrolling window size fix:Improve scrolling window size Feb 11, 2025
@jmeistrich jmeistrich merged commit e50e84d into LegendApp:main Feb 11, 2025
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.

3 participants