()
| 8396 | try { |
| 8397 | const models = await window.electron.getModelsByDirectory(directoryPath); |
| 8398 | await displayModels(models); |
| 8399 | } catch (error) { |
| 8400 | console.error('Error filtering by directory:', error); |
| 8401 | } |
| 8402 | } |
| 8403 | |
| 8404 | // Add these constants at the top with other constants |
| 8405 | const ROULETTE_SPINS = 10; // Number of models to highlight before stopping |
| 8406 | const ROULETTE_INITIAL_DELAY = 100; // Initial delay between highlights in ms |
| 8407 | const ROULETTE_DELAY_INCREMENT = 20; // How much to slow down each spin |
| 8408 |
nothing calls this directly
no test coverage detected