Problems with zooming #3598
Unanswered
baranowskyi
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Are you talking about this example? https://wavesurfer.xyz/examples/?soundcloud.js As you can see in the code, it uses canvas.height as the basis for gradient parameters, so if you want it to be responsive, it should instead use a flexible unit instead of pixels, e.g. vh or percents. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. How do I solve the problem with the center white line jumping when I zoom the screen? I want it to always stay centered.
Thank you in Advance.
Beta Was this translation helpful? Give feedback.
All reactions