()
| 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; |
no test coverage detected