This commit is contained in:
matcool 2024-01-23 15:17:31 -03:00
parent d3559c207d
commit 1898397493

View file

@ -639,6 +639,9 @@ void ModListLayer::onIndexUpdate(IndexUpdateEvent* event) {
}
void ModListLayer::onExit(CCObject*) {
// since this layer is funny and always exists in memory,
// we gotta manually detatch the input nodes
m_searchInput->m_textField->detachWithIME();
CCDirector::sharedDirector()->replaceScene(
CCTransitionFade::create(.5f, MenuLayer::scene(false))
);