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

Function applyFormatState

static/js/main.js:180–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 // video equivalent, so they're hidden (via .fmt-mp4) while MP4 is selected,
179 // leaving just "Export Mix".
180 function applyFormatState() {
181 const video = format === "mp4";
182 exportPanel?.classList.toggle("fmt-mp4", video);
183 if (mixDescEl) {
184 mixDescEl.textContent = video ? "Export mix with the original video" : "Export the mixed audio";
185 }
186 if (!video) updateLoopRegionVisual(); // restores the region item's disabled state
187 }
188
189 function resetBusy() {
190 busy = false;

Callers 2

setFormatFunction · 0.85
resetBusyFunction · 0.85

Calls 1

updateLoopRegionVisualFunction · 0.90

Tested by

no test coverage detected