Remove default focus item from "Node:UI-->1:GUI Dynamic Create Test-->4:Focus Test"

This commit is contained in:
XiaoFeng 2015-12-09 11:12:42 +08:00
parent 5ef1c92420
commit 724e9b42a2
1 changed files with 0 additions and 3 deletions

View File

@ -238,9 +238,6 @@ bool UIFocusTestVertical::init()
w->setTag(i); w->setTag(i);
w->addTouchEventListener(CC_CALLBACK_2(UIFocusTestVertical::onImageViewClicked, this)); w->addTouchEventListener(CC_CALLBACK_2(UIFocusTestVertical::onImageViewClicked, this));
_verticalLayout->addChild(w); _verticalLayout->addChild(w);
if (i == 2) {
w->requestFocus();
}
} }
_loopText = Text::create("loop enabled", "Arial", 20); _loopText = Text::create("loop enabled", "Arial", 20);