From 4431316cb47f3bf1f0efc6ab63db34fc7aa9bb51 Mon Sep 17 00:00:00 2001 From: Chris Needham Date: Wed, 14 Aug 2024 17:39:33 +0100 Subject: [PATCH] Clarify setWaveformDragMode() documentation --- doc/API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/API.md b/doc/API.md index a01680e5..e3c4c171 100644 --- a/doc/API.md +++ b/doc/API.md @@ -999,6 +999,8 @@ Controls the behaviour of mouse drag operations. Possible values for the `mode` When the [segment drag mode](#viewsetsegmentdragmodemode) is either `'no-overlap'` or `'compress'`, clicking on an existing segment in `'insert-segment'` mode will not create a new overlapping segment. +This method applies to the zoomable waveform view only. + ```js const view = instance.views.getView('zoomview'); view.setWaveformDragMode('insert-segment');