Skip to content

Commit

Permalink
Fix: init minimap immediately (#3617)
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh authored Mar 31, 2024
1 parent 74308ba commit 920514e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/minimap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class MinimapPlugin extends BasePlugin<MinimapPluginEvents, MinimapPluginOptions
}

this.initWaveSurferEvents()

Promise.resolve().then(() => {
this.initMinimap()
})
}

private initMinimapWrapper(): HTMLElement {
Expand Down

0 comments on commit 920514e

Please sign in to comment.