regional forecast/observation title close #11
This commit is contained in:
parent
d34b0ca224
commit
902818d7a0
7 changed files with 16 additions and 6 deletions
|
|
@ -61,7 +61,7 @@ const currentWeatherScroll = (() => {
|
|||
if (!data) return;
|
||||
|
||||
// clean up any old text
|
||||
if (context) context.putImageData(blankDrawArea, 0, 405);
|
||||
if (context && blankDrawArea) context.putImageData(blankDrawArea, 0, 405);
|
||||
|
||||
drawCondition(screens[screenIndex](data));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue