Skip to content

Using renderFunction to change waveColor, but it will be overwritten by progressColor. #3671

Answered by katspaugh
sunyayue asked this question in Q&A
Discussion options

You must be logged in to vote

You could set the progressColor to transparent and add this CSS to hide the overlay completely:

::part(canvases) {
  clip-path: none !important;
}

See an example of CSS styling here: https://wavesurfer.xyz/examples/?styling.js

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sunyayue
Comment options

Answer selected by sunyayue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #3670 on April 24, 2024 14:46.