Skip to content

Commit

Permalink
allSettled -> all
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Jan 11, 2024
1 parent 231d4af commit 64a1d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ class Renderer extends EventEmitter<RendererEvents> {
draw(start, end)

// Draw the waveform in chunks equal to the size of the viewport, starting from the position of the viewport
await Promise.allSettled([
await Promise.all([
// Draw the chunks to the left of the viewport
(async () => {
if (start === 0) return
Expand Down

0 comments on commit 64a1d7e

Please sign in to comment.