proxy song list: remove highlight
This commit is contained in:
@@ -381,11 +381,11 @@ void ScrollUpArtist::run()
|
||||
std::string artist = s->getArtist();
|
||||
while (pos > 0)
|
||||
{
|
||||
myScreen->scroll(NC::Scroll::Up);
|
||||
s = pl.getSong(--pos);
|
||||
if (!s || s->getArtist() != artist)
|
||||
break;
|
||||
}
|
||||
pl.highlight(pos);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -406,11 +406,11 @@ void ScrollUpAlbum::run()
|
||||
std::string album = s->getAlbum();
|
||||
while (pos > 0)
|
||||
{
|
||||
myScreen->scroll(NC::Scroll::Up);
|
||||
s = pl.getSong(--pos);
|
||||
if (!s || s->getAlbum() != album)
|
||||
break;
|
||||
}
|
||||
pl.highlight(pos);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -431,11 +431,11 @@ void ScrollDownArtist::run()
|
||||
std::string artist = s->getArtist();
|
||||
while (pos < pl.size() - 1)
|
||||
{
|
||||
myScreen->scroll(NC::Scroll::Down);
|
||||
s = pl.getSong(++pos);
|
||||
if (!s || s->getArtist() != artist)
|
||||
break;
|
||||
}
|
||||
pl.highlight(pos);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -456,11 +456,11 @@ void ScrollDownAlbum::run()
|
||||
std::string album = s->getAlbum();
|
||||
while (pos < pl.size() - 1)
|
||||
{
|
||||
myScreen->scroll(NC::Scroll::Down);
|
||||
s = pl.getSong(++pos);
|
||||
if (!s || s->getAlbum() != album)
|
||||
break;
|
||||
}
|
||||
pl.highlight(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user