-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Centre Line "wiggles" #805
Comments
I'm fine with the suggested solution. Do you understand the root cause of the line jumping though? Is it some kind of graphical glitch on the canvas? |
@katspaugh I'll investigate the root cause this evening. I can mostly notice it while CPU is under a decent load. |
@katspaugh Issue is caused by the inner element, as width value is dynamically changing. |
Hi, I'm using wavesurfer with autocenter option set to true. I also perceive that when zooming in the application the bar goes faster and it goes to the right. Any clues how this can be solved? Must recenterOnPosition method be fixed? Hope this can be solved, thanks! If I have time I will try to check deeper. |
We have been encountering the same issue. When zoomed in particular, the line can go off the screen completely. This makes it unusable and is more of a bug than an enhancement. |
@dionwiggins do you have any code that shows how to reproduce the problem? |
FWIW, I "resolved" this issue outside of the library by placing a div, position:absolute; ontop of the canvas. It was a hack vs a fix |
Even though autoCenter set to false, when zoomed in to the end portion of the waveform and clicking to the left of center in the display and then clicking play, the waveform jumps to center around the cursor position and then scrolls until the end is reached again. Here's my setup:
Is my combination of settings causing |
@Stoyvo this issue still happening? |
No feedback, closing. |
Hi, |
When centre is true, the centre line doesn't stay perfectly centre.
To replicate (while audio is playing), zoom in to waveform, click ahead to start recenter funcrion, watch centre line. The closer you zoom, the more noticeable this becomes.
Suggestion: draw line on parent so position does not need consistent updating. When recentering is needed, use current solution.
The text was updated successfully, but these errors were encountered: