From 2f9b61edafa018e41d5ce19c9029d8319fa80dbe Mon Sep 17 00:00:00 2001 From: Mattk70 Date: Tue, 7 Nov 2023 09:44:39 +0000 Subject: [PATCH] Not broken :) --- js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui.js b/js/ui.js index 3d20c71a..591763e0 100644 --- a/js/ui.js +++ b/js/ui.js @@ -227,7 +227,7 @@ function createTimeline() { } const resetRegions = () => { - if (wavesurfer) wavesurfer.regions.clearRegions(); + if (wavesurfer) wavesurfer.clearRegions(); region = undefined; disableMenuItem(['analyseSelection', 'export-audio']); if (fileLoaded) enableMenuItem(['analyse']);