mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-08 04:08:21 +02:00
Fixed jumping back from current collection to sub collection and from sub collection to current collection for cfwLetterSub.
This commit is contained in:
@@ -418,9 +418,23 @@ void ScrollingList::cfwLetterSubUp( )
|
||||
void ScrollingList::cfwLetterSubDown( )
|
||||
{
|
||||
if (Utils::toLower( collectionName ) != items_->at( (itemIndex_+selectedOffsetIndex_ ) % items_->size( ) )->collectionInfo->lowercaseName( ))
|
||||
{
|
||||
subChange( false );
|
||||
if (Utils::toLower( collectionName ) == items_->at( (itemIndex_+selectedOffsetIndex_ ) % items_->size( ) )->collectionInfo->lowercaseName( ))
|
||||
{
|
||||
subChange( true );
|
||||
letterChange( false );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
letterChange( false );
|
||||
if (Utils::toLower( collectionName ) != items_->at( (itemIndex_+selectedOffsetIndex_ ) % items_->size( ) )->collectionInfo->lowercaseName( ))
|
||||
{
|
||||
letterChange( true );
|
||||
subChange( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user