mirror of
https://github.com/Pandipipas/scoreko-electron-dev.git
synced 2026-06-06 13:42:06 +00:00
test(main): completar fase 2 con cobertura de iconos y timing
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export function getRemainingDelayMs(targetDelayMs: number, startedAtMs: number, currentTimeMs: number = Date.now()): number {
|
||||
return Math.max(0, targetDelayMs - (currentTimeMs - startedAtMs));
|
||||
}
|
||||
Reference in New Issue
Block a user