mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-18 09:39:30 -07:00
change to offscreen canvas
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user