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

@@ -44,7 +44,7 @@ class CurrentWeather extends WeatherDisplay {
}
// we only get here if there was no error above
this.data = Object.assign({}, observations, {station: station});
this.drawCanvas();
this.setStatus(STATUS.loaded);
}
async drawCanvas () {
@@ -175,7 +175,6 @@ class CurrentWeather extends WeatherDisplay {
}));
this.finishDraw();
this.setStatus(STATUS.loaded);
}
shortConditions(condition) {