From 8c1c9fef1549870d43e5debe8e788aab9311012d Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 31 Dec 2013 18:17:20 +0800 Subject: [PATCH] Bug fix in cc.VisibleRect --- cocos/scripting/javascript/script/jsb_cocos2d.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/scripting/javascript/script/jsb_cocos2d.js b/cocos/scripting/javascript/script/jsb_cocos2d.js index 22d3830f84..a79f189c8d 100644 --- a/cocos/scripting/javascript/script/jsb_cocos2d.js +++ b/cocos/scripting/javascript/script/jsb_cocos2d.js @@ -683,6 +683,7 @@ cc.VisibleRect = { lazyInit: function(){ if (!this._isInitialized) { this.init(); + this._isInitialized = true; } }, getWidth:function(){