commit
43c4271101
|
|
@ -599,7 +599,7 @@
|
||||||
{
|
{
|
||||||
"id": "compass",
|
"id": "compass",
|
||||||
"name": "Compass",
|
"name": "Compass",
|
||||||
"version": "0.04",
|
"version": "0.05",
|
||||||
"description": "Simple compass that points North",
|
"description": "Simple compass that points North",
|
||||||
"icon": "compass.png",
|
"icon": "compass.png",
|
||||||
"screenshots": [{"url":"screenshot_compass.png"}],
|
"screenshots": [{"url":"screenshot_compass.png"}],
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,4 @@
|
||||||
0.02: Show text if uncalibrated
|
0.02: Show text if uncalibrated
|
||||||
0.03: Eliminate flickering
|
0.03: Eliminate flickering
|
||||||
0.04: Fix for Bangle.js 2 and themes
|
0.04: Fix for Bangle.js 2 and themes
|
||||||
|
0.05: Fix bearing not clearing correctly (visible in single or double digit bearings)
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue