better startup play/stop handing

This commit is contained in:
Matt Walsh
2020-09-17 16:34:38 -05:00
parent 36144f9eb1
commit 8f5b10664d
9 changed files with 157 additions and 174 deletions

View File

@@ -55,8 +55,7 @@ class LatestObservations extends WeatherDisplay {
this.setStatus(STATUS.noData);
return;
}
this.drawCanvas();
this.setStatus(STATUS.loaded);
}
async drawCanvas() {
@@ -111,7 +110,6 @@ class LatestObservations extends WeatherDisplay {
y += 40;
});
this.finishDraw();
this.setStatus(STATUS.loaded);
}
shortenCurrentConditions(condition) {