Apply suggestion from @bobrippling

Co-authored-by: Rob Pilling <robpilling@gmail.com>
master
RKBoss6 2025-08-12 16:11:20 -04:00 committed by GitHub
parent 6aa202795e
commit d4a777a42f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
var s=24,g=Graphics.createArrayBuffer(24,24,1,{msb:true});
g.fillRect(0,6,s-3,18).clearRect(2,8,s-5,16).fillRect(s-2,10,s,15).fillRect(3,9,3+batt*(s-9)/100,15);
g.transparent=0;
img=g.asImage("string");
return g.asImage("string");
}
//calls both updates for values and icons.