mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[cpp] Fix formatting.
This commit is contained in:
parent
927fd637f0
commit
09f1e0c95c
@ -52,7 +52,7 @@ bool SequenceExample::init() {
|
|||||||
|
|
||||||
EventListenerTouchOneByOne *listener = EventListenerTouchOneByOne::create();
|
EventListenerTouchOneByOne *listener = EventListenerTouchOneByOne::create();
|
||||||
listener->onTouchBegan = [this](Touch *touch, cocos2d::Event *event) -> bool {
|
listener->onTouchBegan = [this](Touch *touch, cocos2d::Event *event) -> bool {
|
||||||
Director::getInstance()->replaceScene(IKExample::scene());
|
Director::getInstance()->replaceScene(IKExample::scene());
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
|
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user