MCPcopy
hub / github.com/stemdeckapp/stemdeck / toggleLoop

Function toggleLoop

static/js/transport.js:251–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251export 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.

Callers

nothing calls this directly

Calls 2

setLoopEnabledFunction · 0.90
updateLoopRegionVisualFunction · 0.85

Tested by

no test coverage detected