mirror of https://github.com/axmolengine/axmol.git
Remove default focus item from "Node:UI-->1:GUI Dynamic Create Test-->4:Focus Test"
This commit is contained in:
parent
5ef1c92420
commit
724e9b42a2
|
@ -238,9 +238,6 @@ bool UIFocusTestVertical::init()
|
|||
w->setTag(i);
|
||||
w->addTouchEventListener(CC_CALLBACK_2(UIFocusTestVertical::onImageViewClicked, this));
|
||||
_verticalLayout->addChild(w);
|
||||
if (i == 2) {
|
||||
w->requestFocus();
|
||||
}
|
||||
}
|
||||
|
||||
_loopText = Text::create("loop enabled", "Arial", 20);
|
||||
|
|
Loading…
Reference in New Issue