Fixed menu animation when pressing a key during onEnter animation.

This commit is contained in:
Pieter Hulshoff 2017-01-03 09:56:36 +01:00
parent 25445924ad
commit cbcfc498a3

View File

@ -281,7 +281,7 @@ void RetroFE::run()
// account for when returning from a menu and the previous key was still "stuck"
if(lastLaunchReturnTime_ == 0 || (currentTime_ - lastLaunchReturnTime_ > .3))
{
if(currentPage_->isMenuIdle())
if(currentPage_->isIdle())
{
state = processUserInput(currentPage_);
}
@ -313,6 +313,7 @@ void RetroFE::run()
case RETROFE_ENTER:
if(currentPage_->isIdle())
{
currentPage_->resetScrollPeriod();
state = RETROFE_IDLE;
}
break;