regional forecast/observation title close #11

This commit is contained in:
Matt Walsh
2022-08-04 20:12:44 -05:00
parent d34b0ca224
commit 902818d7a0
7 changed files with 16 additions and 6 deletions

View File

@@ -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));
};