You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Revert "Revert "Remove gl canvas dependency resize (playcanvas#3124)" (playcanvas#3146)"
This reverts commit ebcdfc3.
* Refactor gl.canvas to use clientWidth/Height instead of relying on external calls to resizeCanvas
Fixesplaycanvas#3114
* Renamed updateGlCanvas to updateCanvas
* Made updateCanvasSize public to be called by the document page JS
Planning a little ahead here. This function will need to be called when the resize and orientation events are fired for some older projects to works as they depend on the canvas resolution being correct after a resize event.
* Got rid of return statement
Co-authored-by: Steven Yau <syau@snapchat.com>
Co-authored-by: Steven Yau <social@stevenyau.co.uk>
0 commit comments