mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-28 09:38:52 +01:00
Fixed jumping back from current collection to sub collection and from sub collection to current collection for cfwLetterSub.
This commit is contained in:
parent
ab95151515
commit
d0dc74a23f
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user