fix synchronisation between users

This commit is contained in:
りき萌 2025-09-08 23:11:14 +02:00
parent 410f82201d
commit 85dce88ec2
4 changed files with 16 additions and 7 deletions

View file

@ -82,7 +82,7 @@ export class Layer {
downloaded.height,
),
);
chunkAllocator.freeDownloaded(downloaded.data);
chunkAllocator.freeDownload(downloaded.data);
let canvas = new OffscreenCanvas(downloaded.width, downloaded.height);
let ctx = canvas.getContext("bitmaprenderer");
ctx.transferFromImageBitmap(imageBitmap);