Update app.js

pull/1535/head
Ronin0000 2022-03-02 09:36:31 -08:00 committed by GitHub
parent 4ddf8a94fb
commit d64f945eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ function draw() {
g.drawImage(background);
const color = getBatteryColor();
const bat = d02(E.getBattery()) + "%";
const bat = E.getBattery() + "%";
const d = new Date();
const day = d.getDate();
const month = (d.getMonth() + 1);
@ -78,7 +78,7 @@ function draw() {
g.setFont("Vector", 16);
g.drawString("Bat:", 12, 22, false);
g.setColor(color[0], color[1], color[2]);
g.drawString(bat, 52, 22, false);
g.drawString(bat, 46, 22, false);
}
g.clear();