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

perf: ⚡️ On scroll, reset the prefetch queue #105

Merged
merged 1 commit into from
Sep 24, 2020
Merged

Conversation

JamesAPetts
Copy link
Member

On scroll with the scrollbar, reset the prefetch queue so that we don't wait for images distant from the target. Build a new interleaved above and below queue and fetch from there.

On scroll with the scrollbar, reset the prefetch queue so that we don't
wait for images distant from the target. Build a new interleaved above
and below queue and fetch from there.
@JamesAPetts JamesAPetts merged commit 832a82c into master Sep 24, 2020
@JamesAPetts JamesAPetts deleted the prefetchingFix branch September 24, 2020 12:53
@ohif-bot
Copy link

🎉 This PR is included in version 4.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants