()
| 249 | } |
| 250 | |
| 251 | export function toggleLoop() { |
| 252 | setLoopEnabled(!loopEnabled); |
| 253 | loopBtn.classList.toggle("active", loopEnabled); |
| 254 | updateLoopRegionVisual(); |
| 255 | } |
| 256 | |
| 257 | // Click-drag on the timeline ruler or waveform body to define the loop |
| 258 | // region. Drag direction doesn't matter -- start and end get sorted. |
nothing calls this directly
no test coverage detected