Fixed issues with add/remove/switch favorites playlist after zero delay encoder changes.

This commit is contained in:
Pieter Hulshoff 2020-03-16 16:33:12 +01:00
parent 2425b1a01b
commit 9d5fa5e176
2 changed files with 4 additions and 4 deletions

View File

@ -1410,7 +1410,7 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
page->letterScroll(Page::ScrollDirectionForward);
state = RETROFE_MENUJUMP_REQUEST;
}
if ( input_.newKeyPressed(UserInput::KeyCodeFavPlaylist) )
if ( input_.keystate(UserInput::KeyCodeFavPlaylist) )
{
attract_.reset( );
page->favPlaylist( );
@ -1449,13 +1449,13 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput( Page *page )
page->prevCyclePlaylist( cycleVector );
state = RETROFE_PLAYLIST_REQUEST;
}
if ( input_.newKeyPressed(UserInput::KeyCodeRemovePlaylist) )
if ( input_.keystate(UserInput::KeyCodeRemovePlaylist) )
{
attract_.reset( );
page->removePlaylist( );
state = RETROFE_PLAYLIST_REQUEST;
}
if ( input_.newKeyPressed(UserInput::KeyCodeAddPlaylist) )
if ( input_.keystate(UserInput::KeyCodeAddPlaylist) )
{
attract_.reset( );
page->addPlaylist( );

View File

@ -21,7 +21,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "9";
std::string retrofe_version_build = "27";
std::string retrofe_version_build = "28";
std::string Version::getString( )