1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-23 16:54:10 +02:00

refactor(frontend): specify global object

This commit is contained in:
syuilo
2025-11-07 20:20:13 +09:00
parent 46d30f454b
commit ef1cdca6f9
4 changed files with 6 additions and 6 deletions

View File

@@ -21,5 +21,5 @@ onmessage = (event) => {
render(event.data.hash, canvas);
const bitmap = canvas.transferToImageBitmap();
postMessage({ id: event.data.id, bitmap }, [bitmap]);
self.postMessage({ id: event.data.id, bitmap }, [bitmap]);
};