Update app.js

master
Andy Smy 2025-04-21 11:24:29 +01:00 committed by GitHub
parent 8f3c88df4b
commit c64d2d1254
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -30,11 +30,11 @@ function showLog() {
draw : (idx, r) => {
g.setBgColor((idx&1)?"#000":"#112").clearRect(r.x,r.y,r.x+r.w-1,r.y+r.h-1);
if(log[idx].matchEvent=="Over Duration"
|| log[idx].matchEvent=="Innings Duration"){
|| log[idx].matchEvent=="Innings Duration"
|| log[idx].matchEvent=="Toss"
|| log[idx].matchEvent=="App Started"){
g.setFont("Vector", 18).drawString(
log[idx].time + " " +
log[idx].over + "." +
log[idx].ball + " " +
log[idx].matchEvent,r.x+6,r.y+1);
g.setFont("Vector", 18).drawString(
log[idx].metaData,r.x+16,r.y+21);