No output with webworkers
Opened this issue · 1 comments
scott-cornwell commented
I can get a sprite to display with Pixi 7.2 from a webworker, but when I put it on a layer the same way I did before it displays nothing. No errors returned.
scott-cornwell commented
I think I got it working. It appears you have to do this now for layers in a webworker (not sure if this is true of Pixi 7 in general as well):
import { Stage } from '@pixi/layers'
app.stage = new Stage()