From 53d28745077c577edeabc363fc7c86c839264328 Mon Sep 17 00:00:00 2001 From: XiaoFeng Date: Wed, 28 Oct 2015 17:38:17 +0800 Subject: [PATCH] Fix "UItest->UicheckBox" display status, make it same as C++ version --- tests/js-tests/src/GUITest/UICheckBoxTest/UICheckBoxTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js-tests/src/GUITest/UICheckBoxTest/UICheckBoxTest.js b/tests/js-tests/src/GUITest/UICheckBoxTest/UICheckBoxTest.js index bce5ed912b..8b24c62b41 100644 --- a/tests/js-tests/src/GUITest/UICheckBoxTest/UICheckBoxTest.js +++ b/tests/js-tests/src/GUITest/UICheckBoxTest/UICheckBoxTest.js @@ -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; }