mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-19 02:12:46 +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_->enterMenu();
|
||||
|
||||
currentPage_->reallocateMenuSpritePoints();
|
||||
currentPage_->enterMenu();
|
||||
|
||||
state = RETROFE_NEXT_PAGE_MENU_ENTER;
|
||||
|
||||
@@ -464,8 +463,8 @@ void RetroFE::run()
|
||||
}
|
||||
config_.setProperty("currentCollection", currentPage_->getCollectionName());
|
||||
currentPage_->onNewItemSelected();
|
||||
currentPage_->enterMenu();
|
||||
currentPage_->reallocateMenuSpritePoints();
|
||||
currentPage_->enterMenu();
|
||||
state = RETROFE_BACK_MENU_ENTER;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user