Update compass.js

master
t0m1o1 2021-11-20 21:13:21 +00:00 committed by GitHub
parent 100384f2e8
commit 44662e3b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Bangle.on('mag', function(m) {
} }
g.setFontAlign(0,0).setFont("6x8",3); g.setFontAlign(0,0).setFont("6x8",3);
var y = 36; var y = 36;
g.clearRect(M-40,y,M+40,y+24); g.clearRect(M-40,24,M+40,48);
g.drawString(Math.round(m.heading),M,y,true); g.drawString(Math.round(m.heading),M,y,true);
} }