change to offscreen canvas

This commit is contained in:
Matt Walsh 2025-05-23 23:13:50 -05:00
commit 2dcc33f210
No known key found for this signature in database
3 changed files with 28 additions and 15 deletions

View file

@ -421,6 +421,8 @@ class WeatherDisplay {
} else if (value?.type === 'img') {
// fill the image source
elem.querySelector('img').src = value.src;
} else if (value?.type === 'canvas') {
elem.append(value.canvas);
}
});