Skip to content

Commit

Permalink
disabled sequence to test if it still crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
pundang committed Jun 26, 2024
1 parent 39f29b1 commit 6a12459
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ struct MenuLayerHook : Modify<MenuLayerHook, MenuLayer> {
card->setPosition(defaultPos);
this->addChild(card);

auto sequence = CCSequence::create(
CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy - 25.0f}), 2.0f),
CCDelayTime::create(0.5f),
CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy}), 2.0f),
nullptr
);
card->runAction(sequence);
// auto sequence = CCSequence::create(
// CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy - 25.0f}), 2.0f),
// CCDelayTime::create(0.5f),
// CCEaseInOut::create(CCMoveTo::create(1.5f, {posx, posy}), 2.0f),
// nullptr
// );
// card->runAction(sequence);
}

return true;
Expand Down

0 comments on commit 6a12459

Please sign in to comment.