better startup play/stop handing
This commit is contained in:
parent
36144f9eb1
commit
8f5b10664d
9 changed files with 157 additions and 174 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue