mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-18 09:39:30 -07:00
add hourly forecast
This commit is contained in:
@@ -77,6 +77,12 @@ class TravelForecast extends WeatherDisplay {
|
||||
this.longContext = this.longCanvas.getContext('2d');
|
||||
this.longCanvasGifs = [];
|
||||
}
|
||||
|
||||
// stop all gifs
|
||||
this.longCanvasGifs.forEach(gif => gif.pause());
|
||||
// delete the gifs
|
||||
this.longCanvasGifs.length = 0;
|
||||
|
||||
// set up variables
|
||||
const cities = this.data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user