Before I was able to use CreateScreenshot
in worker via
const canvas = new OffscreenCanvas(size.width, size.height);
Tools._ScreenshotCanvas = canvas as unknown as HTMLCanvasElement;
That ability is removed by this commit: Fix dump tools premul
Before I was able to use CreateScreenshot
in worker via
const canvas = new OffscreenCanvas(size.width, size.height);
Tools._ScreenshotCanvas = canvas as unknown as HTMLCanvasElement;
That ability is removed by this commit: Fix dump tools premul
Hi, how are you doing?
Iām pinging @sebavan for visibilty.
The problem is that the way we did it before was buggedā¦ I donāt know if thereās a way to make it work in a worker, letās wait for @sebavan answer (but be patient, he is on vacation).
Could that work with an offscreen canvas @Evgeni_Popov ?
This PR should do it:
LOL I was wondering if it could work and @Evgeni_Popov already pushed it LOL