Hello,
why getVisibleSize and getVisibleOrigin do not return the right values in canvas mode?
in CCDirectorCanvas.js:
_p.getVisibleSize = function () {
//if (this._openGLView) {
//return this._openGLView.getVisibleSize();
//} else {
return this.getWinSize();
//}
};
_p.getVisibleOrigin = function () {
//if (this._openGLView) {
//return this._openGLView.getVisibleOrigin();
//} else {
return cc.p(0, 0);
//}
};