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

translucent "waveColor" leads to solid "progressColor" disappearing #3874

Open
horans opened this issue Sep 20, 2024 · 0 comments
Open

translucent "waveColor" leads to solid "progressColor" disappearing #3874

horans opened this issue Sep 20, 2024 · 0 comments
Labels

Comments

@horans
Copy link

horans commented Sep 20, 2024

Bug description

setting "waveColor" with a translucent color(opacity/alpha channel), and setting "progressColor" with a solid color(no opacity/alpha channel), will result in "progressColor" disappearing/missing.
setting both "waveColor" and "progressColor" with solid/translucent color, it's ok.

Environment

  • Browser: Chrome v128
  • wavefurfer.js v7.8.6

Minimal code snippet

the following code is NOT WORKING:

WaveSurfer.create({
  waveColor: '#00000066',
  progressColor: '#000000'
})

the following code WORKS:

WaveSurfer.create({
  waveColor: '#000000',
  progressColor: '#00000066'
})

the following code WORKS:

WaveSurfer.create({
  waveColor: '#00000066',
  progressColor: '#33333366'
})

Expected result

"waveColor" and "progressColor" show separately with any color value.

Obtained result

"waveColor" shows, "progressColor" is not showing. (only showing the current frame correctly.)

Screenshots

image

@horans horans added the bug label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant