feat: Initialize buzz state for stopwatches
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -208,6 +208,7 @@
|
|||||||
stopWatch.start1 = Date.now();
|
stopWatch.start1 = Date.now();
|
||||||
if (!stopWatch.elapsed1) {
|
if (!stopWatch.elapsed1) {
|
||||||
stopWatch.elapsed1 = 0;
|
stopWatch.elapsed1 = 0;
|
||||||
|
stopWatch.buzz1 = 0;
|
||||||
}
|
}
|
||||||
saveStopWatch();
|
saveStopWatch();
|
||||||
|
|
||||||
@@ -222,6 +223,7 @@
|
|||||||
stopWatch.start2 = Date.now();
|
stopWatch.start2 = Date.now();
|
||||||
if (!stopWatch.elapsed2) {
|
if (!stopWatch.elapsed2) {
|
||||||
stopWatch.elapsed2 = 0;
|
stopWatch.elapsed2 = 0;
|
||||||
|
stopWatch.buzzed2 = false;
|
||||||
}
|
}
|
||||||
saveStopWatch();
|
saveStopWatch();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user