mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-13 02:08:52 +01:00
Reallocating menu sprites resets the animations, so animations should be called after reallocating the sprites.
This commit is contained in:
parent
40391ad084
commit
dc74226a37
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user