mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-26 13:52:57 +01:00
Reallocating menu sprites resets the animations, so animations should be called after reallocating the sprites.
This commit is contained in:
@@ -411,9 +411,8 @@ void RetroFE::run()
|
|||||||
}
|
}
|
||||||
|
|
||||||
currentPage_->onNewItemSelected();
|
currentPage_->onNewItemSelected();
|
||||||
currentPage_->enterMenu();
|
|
||||||
|
|
||||||
currentPage_->reallocateMenuSpritePoints();
|
currentPage_->reallocateMenuSpritePoints();
|
||||||
|
currentPage_->enterMenu();
|
||||||
|
|
||||||
state = RETROFE_NEXT_PAGE_MENU_ENTER;
|
state = RETROFE_NEXT_PAGE_MENU_ENTER;
|
||||||
|
|
||||||
@@ -464,8 +463,8 @@ void RetroFE::run()
|
|||||||
}
|
}
|
||||||
config_.setProperty("currentCollection", currentPage_->getCollectionName());
|
config_.setProperty("currentCollection", currentPage_->getCollectionName());
|
||||||
currentPage_->onNewItemSelected();
|
currentPage_->onNewItemSelected();
|
||||||
currentPage_->enterMenu();
|
|
||||||
currentPage_->reallocateMenuSpritePoints();
|
currentPage_->reallocateMenuSpritePoints();
|
||||||
|
currentPage_->enterMenu();
|
||||||
state = RETROFE_BACK_MENU_ENTER;
|
state = RETROFE_BACK_MENU_ENTER;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user