change to offscreen canvas

This commit is contained in:
Matt Walsh
2025-05-23 23:13:50 -05:00
parent 8f86f80eb5
commit 2dcc33f210
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);
}
});