mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-12 00:59:12 +01:00
Added enterOnCollection option to disable entering the collection on collectionUp/Down.
This commit is contained in:
parent
3557484e32
commit
fc52b94ce0
@ -774,7 +774,9 @@ void RetroFE::run( )
|
||||
{
|
||||
currentPage_->setScrolling(Page::ScrollDirectionIdle); // Stop scrolling
|
||||
nextPageItem_ = currentPage_->getSelectedItem( );
|
||||
if ( currentPage_->getSelectedItem( )->leaf ) // Current selection is a game
|
||||
bool enterOnCollection = true;
|
||||
config_.getProperty( "enterOnCollection", enterOnCollection );
|
||||
if ( currentPage_->getSelectedItem( )->leaf || !enterOnCollection ) // Current selection is a game or enterOnCollection is not set
|
||||
{
|
||||
state = RETROFE_HIGHLIGHT_REQUEST;
|
||||
}
|
||||
@ -931,7 +933,9 @@ void RetroFE::run( )
|
||||
{
|
||||
currentPage_->setScrolling(Page::ScrollDirectionIdle); // Stop scrolling
|
||||
nextPageItem_ = currentPage_->getSelectedItem( );
|
||||
if ( currentPage_->getSelectedItem( )->leaf ) // Current selection is a game
|
||||
bool enterOnCollection = true;
|
||||
config_.getProperty( "enterOnCollection", enterOnCollection );
|
||||
if ( currentPage_->getSelectedItem( )->leaf || !enterOnCollection ) // Current selection is a game or enterOnCollection is not set
|
||||
{
|
||||
state = RETROFE_HIGHLIGHT_REQUEST;
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
std::string retrofe_version_major = "0";
|
||||
std::string retrofe_version_minor = "9";
|
||||
std::string retrofe_version_build = "10";
|
||||
std::string retrofe_version_build = "11";
|
||||
|
||||
|
||||
std::string Version::getString( )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user