diff --git a/cocos2d/core/editbox/CCdomNode.js b/cocos2d/core/editbox/CCdomNode.js index d772073465..d811717f15 100644 --- a/cocos2d/core/editbox/CCdomNode.js +++ b/cocos2d/core/editbox/CCdomNode.js @@ -239,7 +239,7 @@ cc.DOM.methods = /** @lends cc.DOM# */{ this.canvas.height = locContentSize.height; } this.setNodeDirty(); - this.redraw(); + // this.redraw(); }, /** @@ -261,7 +261,7 @@ cc.DOM.methods = /** @lends cc.DOM# */{ this.canvas.width = locContentSize.width; } this.setNodeDirty(); - this.redraw(); + // this.redraw(); }, /** @@ -283,7 +283,7 @@ cc.DOM.methods = /** @lends cc.DOM# */{ this.canvas.height = locContentSize.height; } this.setNodeDirty(); - this.redraw(); + // this.redraw(); }, /** diff --git a/cocos2d/core/label/CCSGLabel.js b/cocos2d/core/label/CCSGLabel.js index af8e80d4a9..4452fe7eb9 100644 --- a/cocos2d/core/label/CCSGLabel.js +++ b/cocos2d/core/label/CCSGLabel.js @@ -109,7 +109,7 @@ _ccsg.Label = _ccsg.Node.extend({ _vAlign: cc.VerticalTextAlignment.TOP, //0 bottom,1 center, 2 top _string: "", _fontSize: 40, - _drawFontsize: 0, + _drawFontsize: 40, _overFlow: 0, //see _ccsg.Label.Overflow _isWrapText: true, _spacingX: 0,