mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 18:25:13 +01:00
Fixed menu animation when pressing a key during onEnter animation.
This commit is contained in:
parent
25445924ad
commit
cbcfc498a3
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user