mirror of https://github.com/axmolengine/axmol.git
issue #3069: Updating EventDispatcherTest.
This commit is contained in:
parent
5698dcd0e1
commit
cb7a762584
|
@ -187,7 +187,7 @@ void TouchableSpriteTest::onEnter()
|
|||
auto senderItem = static_cast<MenuItemFont*>(sender);
|
||||
senderItem->setString("Only Next item could be clicked");
|
||||
|
||||
_eventDispatcher->removeEventListeners(EventListenerTouchOneByOne::ID);
|
||||
_eventDispatcher->removeEventListeners(EventListener::Type::TOUCH_ONE_BY_ONE);
|
||||
|
||||
auto nextItem = MenuItemFont::create("Next", [=](Object* sender){
|
||||
nextCallback(nullptr);
|
||||
|
|
Loading…
Reference in New Issue