clean up missing images in radar parsing
This commit is contained in:
parent
560d3a8cb2
commit
32d2b5d1cd
3 changed files with 25 additions and 7 deletions
|
|
@ -232,7 +232,7 @@ class WeatherDisplay {
|
|||
// if there was a command the canvas has already been drawn
|
||||
if (navCmd) return;
|
||||
|
||||
// refresh the canvas (incase the screen index changed)
|
||||
// refresh the canvas (in case the screen index changed)
|
||||
if (navCmd) this.drawCanvas();
|
||||
}
|
||||
hideCanvas() {
|
||||
|
|
@ -304,6 +304,7 @@ class WeatherDisplay {
|
|||
} else {
|
||||
this.screenIndexChange(this.screenIndex);
|
||||
}
|
||||
this.showCanvas();
|
||||
}
|
||||
|
||||
// navigate to previous screen
|
||||
|
|
@ -329,6 +330,7 @@ class WeatherDisplay {
|
|||
} else {
|
||||
this.screenIndexChange(this.screenIndex);
|
||||
}
|
||||
this.showCanvas();
|
||||
}
|
||||
|
||||
// calculate a baseCount from the screen index for the array timings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue