fix
This commit is contained in:
parent
4c40576bf5
commit
989b2de705
|
@ -14,5 +14,5 @@ onmessage = async (event) => {
|
|||
imageData.data.set(pixels);
|
||||
ctx.putImageData(imageData, 0, 0);
|
||||
const bitmap = canvas.transferToImageBitmap();
|
||||
postMessage(bitmap, [bitmap]);
|
||||
postMessage(bitmap);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue