Skip to content

Commit

Permalink
fix: relay dblclick event (#2761)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharpbuf committed Apr 14, 2023
1 parent d6f63bd commit 220661e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/wavesurfer.js
Expand Up @@ -718,6 +718,12 @@ export default class WaveSurfer extends util.Observer {
}
this.fireEvent('scroll', e);
});

// Relay the dblclick event from the drawer
this.drawer.on('dblclick', (e, progress) => {
this.fireEvent('dblclick', e, progress);
});

}

/**
Expand Down

0 comments on commit 220661e

Please sign in to comment.