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

Support rerendering on scrolling #8

Open
raczben opened this issue Oct 26, 2020 · 0 comments
Open

Support rerendering on scrolling #8

raczben opened this issue Oct 26, 2020 · 0 comments

Comments

@raczben
Copy link
Owner

raczben commented Oct 26, 2020

Left-right scrolling does not update and re-render the waveform.

The root cause is that zoom_fast() fires a scroll event. Therefore scrolled() called during each zoom_fast event. So scrolled should and should not contain the re-render function.

The scrolled() function should distinguish between "original-scroll" (the render should called), and the "zoom-scroll".

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

No branches or pull requests

1 participant