fix
This commit is contained in:
parent
3795422886
commit
00fc78b720
|
@ -9,6 +9,7 @@ onmessage = async (event) => {
|
||||||
}
|
}
|
||||||
if (event.data.delete) {
|
if (event.data.delete) {
|
||||||
canvases.delete(event.data.id);
|
canvases.delete(event.data.id);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (event.data.canvas) {
|
if (event.data.canvas) {
|
||||||
canvases.set(event.data.id, event.data.canvas);
|
canvases.set(event.data.id, event.data.canvas);
|
||||||
|
|
Loading…
Reference in New Issue