SvenFranz_OL

Results 3 comments of SvenFranz_OL

The width of the spectrogram canvas will not be updated after zooming. My solution: `wavesurfer.spectrogram.canvas.style.width = Math.max(wavesurfer.drawer.getWidth(), Math.round(wavesurfer.getDuration() * wavesurfer.params.minPxPerSec * wavesurfer.params.pixelRatio)) + "px"`

Well... I solved this by adding in "region-created" Callback ``` if (region.regionHeight != "100%") { region.regionHeight="100%" region.marginTop = '0px'; region.style(region.element, { height: region.regionHeight, top: region.marginTop }); } ```

I realised the background fft as mentioned [here](https://github.com/katspaugh/wavesurfer.js/issues/1867#issuecomment-589040626l) Unfortunalty, it is not possible to send the buffer to the worker. I solved the problem as follows: for spectrogram.js ``` const...