meytin1337 / youtube-dj

2 stars 0 forks source link

Add loop functionality #15

Closed meytin1337 closed 10 months ago

meytin1337 commented 11 months ago

Besides adding the functionality to loop the track this PR includes a major refactoring. The wavesurfer instance and audio context are no longer saved as reactive state but now only exists on the root element. Having the wavesurfer instance be reactive has already led to some bugs and would have most likely only created more problems down the path. This PR also includes a fix for #18

9