currently I am playing around with the features of the viewport (and pixi of course) and trying to fit the canvas-wrapping div element into some parent container (angular material side nav content).
When using viewport.resize(...) it seems to work internally for the viewport but the actual canvas element keeps its initial size. Am I supposed to rescale this manually (I guess that screws up assumptions made by the viewport and/or pixi) or does the PIXI application object to handle this?
Hello!
currently I am playing around with the features of the viewport (and pixi of course) and trying to fit the canvas-wrapping div element into some parent container (angular material side nav content).
When using viewport.resize(...) it seems to work internally for the viewport but the actual canvas element keeps its initial size. Am I supposed to rescale this manually (I guess that screws up assumptions made by the viewport and/or pixi) or does the PIXI application object to handle this?
Thank you very much