This commit is contained in:
tamaina 2023-05-07 18:49:35 +00:00
parent 3795422886
commit 00fc78b720
1 changed files with 1 additions and 0 deletions

View File

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