From bd0789e22c37bb02824c259b298b91dfd9ca91ae Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 19 Dec 2016 16:00:27 +0800 Subject: [PATCH] sync codes from cpp to js (#17042) --- 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 6f63a2bd74..945a7fde91 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(true); this._mainNode.addChild(checkBoxDisabled2); return true; }