cc.view.resizeWithBrowserSize(true) not working


#1

Hello

cc.view.resizeWithBrowserSize(true); does not work

a fix i found is to change in CCEGLView.js. line 128:
_orientationChanging: true to _orientationChanging: false

Is this a bug or it needs to be true for some reason ?


#2

Looks like this is fixed in the next release by setting _orientationChanging to false in the constructor if not on a mobile device: