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

Function render

static/mobile/app.js:675–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673}
674
675function render() {
676 let screen = mixerScreen();
677 if (state.tab === "library") screen = libraryScreen();
678 else if (state.tab === "extract") screen = extractScreen();
679 app.innerHTML = screen + miniPlayer() + tabBar();
680 _lastPlayedBar = -1; // bars were just rebuilt; force a repaint on next tick
681 wireFaders();
682 wireSwipe();
683}
684
685// Suppresses the synthetic click that follows a swipe gesture, so swiping a
686// row open doesn't immediately count as a tap.

Callers 7

openTrackFunction · 0.70
togglePlayFunction · 0.70
startExtractionFunction · 0.70
_onExtractStateFunction · 0.70
deleteTrackFunction · 0.70
app.jsFile · 0.70
loadLibraryFunction · 0.70

Calls 7

mixerScreenFunction · 0.85
libraryScreenFunction · 0.85
extractScreenFunction · 0.85
miniPlayerFunction · 0.85
tabBarFunction · 0.85
wireFadersFunction · 0.85
wireSwipeFunction · 0.85

Tested by

no test coverage detected