From 2d0175b9d3bd5031c6f9c15f4eb5bd71d76e086b Mon Sep 17 00:00:00 2001 From: Mattk70 Date: Tue, 7 Nov 2023 09:42:11 +0000 Subject: [PATCH] still broken --- js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui.js b/js/ui.js index 39883506..3d20c71a 100644 --- a/js/ui.js +++ b/js/ui.js @@ -1140,7 +1140,7 @@ function adjustSpecDims(redraw, fftSamples) { reset: false }); } else { - wavesurfer.setOptions({height:specHeight}); + wavesurfer.setHeight(specHeight); } initSpectrogram(specHeight, fftSamples); specCanvasElement.width('100%');