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

Fix: handle devicePixelRatio < 1 #3774

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Fix: handle devicePixelRatio < 1 #3774

merged 1 commit into from
Jul 3, 2024

Conversation

katspaugh
Copy link
Owner

Short description

Resolves #3771

Implementation details

  • devicePixelRatio < 1 resulted in waveforms not filling the container
  • With devicePixelRatio = 2, waveforms w/o scroll were 2x wide
Copy link

Deploying wavesurfer-js with  Cloudflare Pages  Cloudflare Pages

Latest commit: b873005
Status: ✅  Deploy successful!
Preview URL: https://064c2082.wavesurfer-js.pages.dev
Branch Preview URL: https://pxratio.wavesurfer-js.pages.dev

View logs

@katspaugh katspaugh merged commit 712e868 into main Jul 3, 2024
4 checks passed
@katspaugh katspaugh deleted the pxratio branch July 3, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant