Allow menu direction scroll change independent of the idle state of the menu.

This commit is contained in:
Pieter Hulshoff 2016-07-22 15:07:19 +02:00
parent f98395cbcd
commit fa44e571c9

View File

@ -575,8 +575,6 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput(Page *page)
bool exit = false;
RETROFE_STATE state = RETROFE_IDLE;
if(page->isMenuIdle())
{
if(page->isHorizontalScroll())
{
if (input_.keystate(UserInput::KeyCodeLeft))
@ -600,6 +598,9 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput(Page *page)
}
}
if(page->isMenuIdle())
{
if (!input_.keystate(UserInput::KeyCodePageUp) &&
!input_.keystate(UserInput::KeyCodePageDown) &&
!input_.keystate(UserInput::KeyCodeLetterUp) &&