Skip to content

Commit 724e9b4

Browse files
committed
Remove default focus item from "Node:UI-->1:GUI Dynamic Create Test-->4:Focus Test"
1 parent 5ef1c92 commit 724e9b4

File tree

1 file changed

+0
-3
lines changed
  • tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIFocusTest

1 file changed

+0
-3
lines changed

tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIFocusTest/UIFocusTest.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,6 @@ bool UIFocusTestVertical::init()
238238
w->setTag(i);
239239
w->addTouchEventListener(CC_CALLBACK_2(UIFocusTestVertical::onImageViewClicked, this));
240240
_verticalLayout->addChild(w);
241-
if (i == 2) {
242-
w->requestFocus();
243-
}
244241
}
245242

246243
_loopText = Text::create("loop enabled", "Arial", 20);

0 commit comments

Comments
 (0)