MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / seekToFraction

Function seekToFraction

static/mobile/app.js:319–322  ·  view source on GitHub ↗
(frac)

Source from the content-addressed store, hash-verified

317}
318
319function seekToFraction(frac) {
320 if (!engine) return;
321 engine.seek(Math.max(0, Math.min(1, frac)) * curDuration());
322}
323
324function triggerDownload(url) {
325 const a = document.createElement("a");

Callers 1

seekFunction · 0.85

Calls 1

curDurationFunction · 0.85

Tested by

no test coverage detected