uncomment this from Notification

This commit is contained in:
matcool 2024-01-18 14:40:54 -03:00
parent 6a617789d2
commit 3d89677b60

View file

@ -172,7 +172,7 @@ void Notification::show() {
if (!this->getParent()) {
auto winSize = CCDirector::get()->getWinSize();
this->setPosition(winSize.width / 2, winSize.height / 4);
// this->setZOrder(CCScene::get()->getHighestChildZ() + 100);
this->setZOrder(CCScene::get()->getHighestChildZ() + 100);
}
SceneManager::get()->keepAcrossScenes(this);
m_showing = true;