Bug fix in cc.VisibleRect

This commit is contained in:
James Chen 2013-12-31 18:17:20 +08:00
parent f793ff01b2
commit 8c1c9fef15
1 changed files with 1 additions and 0 deletions

View File

@ -683,6 +683,7 @@ cc.VisibleRect = {
lazyInit: function(){ lazyInit: function(){
if (!this._isInitialized) { if (!this._isInitialized) {
this.init(); this.init();
this._isInitialized = true;
} }
}, },
getWidth:function(){ getWidth:function(){