Merge pull request #14255 from xiaofeng11/v3_23634

Fix "UItest->UicheckBox" display status, make it same as C++ version
This commit is contained in:
pandamicro 2015-10-28 18:32:49 +08:00
commit b66fa04c21
1 changed files with 1 additions and 1 deletions

View File

@ -110,8 +110,8 @@ var UICheckBoxDefaultBehaviorTest = UIMainLayer.extend({
var checkBoxDisabled2 = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png", "ccs-res/cocosui/check_box_active.png");
checkBoxDisabled2.setPosition(cc.p(widgetSize.width / 2 + 70, widgetSize.height / 2));
checkBoxDisabled2.setBright(false);
checkBoxDisabled2.setSelected(true);
checkBoxDisabled2.setBright(false);
this._mainNode.addChild(checkBoxDisabled2);
return true;
}