mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 00:59:29 -07:00
clean up missing images in radar parsing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user