Closed chrisn closed 2 years ago
See #421. This PR adds new functions to allow applications to disable seek and drag/scroll interactions.
To disable drag/scroll in the zoomable waveform view:
const zoomview = peaksInstance.views.getView('zoomview'); zoomview.enableDragScroll(false); // or true to re-enable
To disable seek on click (actually on mouse-up):
const overview = peaksInstance.views.getView('overview'); const zoomview = peaksInstance.views.getView('zoomview'); overview.enableSeek(false); // or true to re-enable zoomview.enableSeek(false);
How is this, @rowild?
Just tested these functions: they work great! It's awesome to have them available on peaks-level! Thank you very much!
See #421. This PR adds new functions to allow applications to disable seek and drag/scroll interactions.
To disable drag/scroll in the zoomable waveform view:
To disable seek on click (actually on mouse-up):
How is this, @rowild?