Fixed single item menu scrolling selection bug caused by previous fix.

This commit is contained in:
Pieter Hulshoff 2016-07-22 14:49:59 +02:00
parent c4c85fa9e8
commit f98395cbcd

View File

@ -348,9 +348,15 @@ void RetroFE::run()
case RETROFE_HIGHLIGHT_EXIT:
if ( processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST)
{
state = RETROFE_HIGHLIGHT_REQUEST;
state = RETROFE_HIGHLIGHT_ENTER;
}
else if (currentPage_->isGraphicsIdle())
else if (currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling())
{
currentPage_->onNewItemSelected();
currentPage_->highlightEnter();
state = RETROFE_HIGHLIGHT_ENTER;
}
else if (currentPage_->isIdle())
{
currentPage_->onNewItemSelected();
currentPage_->highlightEnter();