Add space after temperature value

Add space after temperature value
pull/962/head
Marco H 2021-11-29 10:40:32 +01:00 committed by GitHub
parent baba42ae25
commit c9d0a19947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ function onTemperature(p) {
var y = g.getHeight()/2 + 10;
g.drawString("Temperature:", x, y - 45);
g.setFontVector(70).setFontAlign(0,0);
g.drawString(p.temperature.toFixed(1) + "°C", x, y);
g.drawString(p.temperature.toFixed(1) + " °C", x, y);
}
function drawTemperature() {