Skip to content

Commit e87a389

Browse files
committed
Merge pull request #881 from joshuastray/develop
fix wrong label height in moonwarrior
2 parents 6e1bc53 + 93ce875 commit e87a389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/js-moonwarriors/src/AboutLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var AboutLayer = cc.Layer.extend({
1717
this.addChild(title);
1818

1919
// There is a bug in LabelTTF native. Apparently it fails with some unicode chars.
20-
var about = new cc.LabelTTF(" This showcase utilizes many features from Cocos2d-html5 engine, including: Parallax background, tilemap, actions, ease, frame animation, schedule, Labels, keyboard Dispatcher, Scene Transition. \n Art and audio is copyrighted by Enigmata Genus Revenge, you may not use any copyrigted material without permission. This showcase is licensed under GPL. \n \n Programmer: \n Shengxiang Chen (陈升想) \n Dingping Lv (吕定平) \n Effects animation: Hao Wu(吴昊)\n Quality Assurance: Sean Lin(林顺)", "Arial", 21, cc.size(MW.WIDTH * 0.85, MW.HEIGHT / 2), cc.TEXT_ALIGNMENT_LEFT );
20+
var about = new cc.LabelTTF(" This showcase utilizes many features from Cocos2d-html5 engine, including: Parallax background, tilemap, actions, ease, frame animation, schedule, Labels, keyboard Dispatcher, Scene Transition. \n Art and audio is copyrighted by Enigmata Genus Revenge, you may not use any copyrigted material without permission. This showcase is licensed under GPL. \n \n Programmer: \n Shengxiang Chen (陈升想) \n Dingping Lv (吕定平) \n Effects animation: Hao Wu(吴昊)\n Quality Assurance: Sean Lin(林顺)", "Arial", 21, cc.size(MW.WIDTH * 0.85, 0), cc.TEXT_ALIGNMENT_LEFT );
2121
about.attr({
2222
x: winSize.width / 2,
2323
y: MW.HEIGHT / 2 + 30,

0 commit comments

Comments
 (0)