Update app.js

master
Andy Smy 2025-05-09 08:30:42 +01:00 committed by GitHub
parent 518bc03f45
commit ac205af0a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ function countDown(dir) {
g.setFont("Vector",80); // vector font, 80px
g.drawString(over + "." + counter, g.getWidth()/1.89, 120);
g.setFont("Vector",18);
g.drawString("..." + formatDuration(deadDuration), g.getWidth()/1.89, 166);
g.drawString(".".repeat(ballsPerOver) + formatDuration(deadDuration), g.getWidth()/1.89, 166);
processing = false;
}
@ -326,7 +326,7 @@ function newInnings() {
log = [];
timeCalled = false;
var timeSig = new Date();
addLog(timeSig, "245", "a", "Date", timeSig.toUTCString());
addLog(timeSig, "-", "-", "New Innings", timeSig.toUTCString());
}
newInnings();