()
| 8407 | const ROULETTE_DELAY_INCREMENT = 20; // How much to slow down each spin |
| 8408 | |
| 8409 | // Add the roulette functionality |
| 8410 | async function startPrintRoulette() { |
| 8411 | // Get all visible models in the grid |
| 8412 | const visibleModels = Array.from(document.querySelectorAll('.file-item')); |
| 8413 | if (visibleModels.length === 0) return; |
| 8414 | |
| 8415 | // Clear any existing selections |
| 8416 | selectedModels.clear(); |
| 8417 | document.querySelectorAll('.file-item').forEach(item => { |
| 8418 | item.classList.remove('selected'); |
no outgoing calls
no test coverage detected