Update app.js

master
Andy Smy 2025-05-11 18:14:45 +01:00 committed by GitHub
parent c9d10d82b5
commit 135951332d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ function countDown(dir) {
g.drawString('\¦\¦\¦', 173, 15); g.drawString('\¦\¦\¦', 173, 15);
g.setFontAlign(-1,0); g.setFontAlign(-1,0);
g.setFont("Vector",16); // vector font, 80px g.setFont("Vector",16); // vector font, 80px
var heartRateString = heartRate + '!!!'; var heartRateString = 'BPM: ' + heartRate;
if(heartRateEventSeconds <= 0) heartRateString = ''; if(heartRateEventSeconds <= 0) heartRateString = '';
g.drawString(battery + '% ' + heartRateString, 5, 11); g.drawString(battery + '% ' + heartRateString, 5, 11);
g.setFontAlign(0,0); g.setFontAlign(0,0);