mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-06 10:53:07 +02:00
Fixed single item menu scrolling selection bug caused by previous fix.
This commit is contained in:
@@ -348,9 +348,15 @@ void RetroFE::run()
|
|||||||
case RETROFE_HIGHLIGHT_EXIT:
|
case RETROFE_HIGHLIGHT_EXIT:
|
||||||
if ( processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST)
|
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_->onNewItemSelected();
|
||||||
currentPage_->highlightEnter();
|
currentPage_->highlightEnter();
|
||||||
|
|||||||
Reference in New Issue
Block a user