Open Heilemann opened 1 year ago
Same for me. In pixi-react, using pixi 7.2, I always get this error:
this.viewport.options.events is undefined
Even though I'm following the note about events/interaction
const viewport = new PixiViewport({
screenWidth: props.width,
screenHeight: props.height,
worldWidth: props.width * 2,
worldHeight: props.height * 2,
ticker: props.app.ticker,
events: props.app.renderer.events
});
There seems to be some major changes, including
events
/interaction
anddivWheel
, and so far I haven't been able to figure out how to make it work with@pixi/react
.