Reallocating menu sprites resets the animations, so animations should be called after reallocating the sprites.

This commit is contained in:
Pieter Hulshoff 2016-06-21 10:22:28 +02:00
parent 40391ad084
commit dc74226a37

View File

@ -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;