Content-Length: 258647 | pFad | http://github.com/sendilkumarj/cocos2d-html5/commit/769c5085a1ddb1b1fa3651a765e1060638bff1aa

74 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-html5 in… · sendilkumarj/cocos2d-html5@769c508 · GitHub
Skip to content

Commit 769c508

Browse files
committed
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-html5 into Iss2421_TextureRepeating
2 parents 78db8f4 + 8761c71 commit 769c508

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cocos2d/core/labelttf/CCLabelTTF.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,10 @@ cc.LabelTTF = cc.Sprite.extend(/** @lends cc.LabelTTF# */{
847847
}
848848

849849
fuzzyLen -= pushNum;
850+
if(fuzzyLen === 0){
851+
fuzzyLen = 1;
852+
sLine = sLine.substr(1);
853+
}
850854

851855
var sText = text.substr(0, fuzzyLen);
852856

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/sendilkumarj/cocos2d-html5/commit/769c5085a1ddb1b1fa3651a765e1060638bff1aa

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy