libsaria: Scroll playlist when iterator is reset
This allows me to scroll the recent tracks list back to the beginning. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
319d68e8d2
commit
ee2191fc4f
|
@ -57,6 +57,7 @@ namespace libsaria
|
|||
void Playlist::reset_iterator()
|
||||
{
|
||||
cur = plist.begin();
|
||||
RENDER(goto_index(0));
|
||||
}
|
||||
|
||||
unsigned int Playlist::find_cur_index()
|
||||
|
|
Loading…
Reference in New Issue