Open ben4d85 opened 2 years ago
You shouldn't need the viewport.update() command. The viewport.resize() command should resize and on the next draw everything should be correct. Seeing as you're using pixi.application that should happen on every frame. Check that the resize is being called properly after an event.
I am trying to get the pixi-viewport to resize automatically following a window resize event.
The problem is that after resizing, the user needs to drag on the page for the viewport to get updated. I would like this to happen automatically instead.