Skip to content

Commit

Permalink
no transitions on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
mishpro-programm committed Mar 28, 2024
1 parent f35c62b commit 0fcd435
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ class $modify(MyPauseLayer, PauseLayer) {
auto level = playLayer->m_level;
auto infoLayer = InfoLayer::create(level, nullptr, nullptr);
infoLayer->setZOrder(11);
#ifndef GEODE_IS_MACOS
infoLayer->setScale(0.f);
auto scaleAction = CCScaleTo::create(0.3f, 1.f);
auto action = CCEaseBackOut::create(scaleAction);
infoLayer->runAction(action);
#endif
auto scene = CCDirector::sharedDirector()->getRunningScene();
scene->addChild(infoLayer);
}
Expand Down

0 comments on commit 0fcd435

Please sign in to comment.