()
| 673 | } |
| 674 | |
| 675 | function 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. |
no test coverage detected