feat: Initialize buzz state for stopwatches

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-03-10 16:22:44 -06:00
parent 6d965dd016
commit 07bb582ddd

View File

@@ -208,6 +208,7 @@
stopWatch.start1 = Date.now();
if (!stopWatch.elapsed1) {
stopWatch.elapsed1 = 0;
stopWatch.buzz1 = 0;
}
saveStopWatch();
@@ -222,6 +223,7 @@
stopWatch.start2 = Date.now();
if (!stopWatch.elapsed2) {
stopWatch.elapsed2 = 0;
stopWatch.buzzed2 = false;
}
saveStopWatch();