reset scrollpad's start position while switching to lyrics/info screens
This commit is contained in:
@@ -126,6 +126,7 @@ void Info::GetSong()
|
||||
RedrawHeader = 1;
|
||||
itsTitle = "Song info";
|
||||
w->Clear();
|
||||
w->Reset();
|
||||
PrepareSong(*s);
|
||||
w->Window::Clear();
|
||||
w->Flush();
|
||||
@@ -172,6 +173,7 @@ void Info::GetArtist()
|
||||
RedrawHeader = 1;
|
||||
itsTitle = "Artist info - " + itsArtist;
|
||||
w->Clear();
|
||||
w->Reset();
|
||||
static_cast<Window &>(*w) << "Fetching artist info...";
|
||||
w->Window::Refresh();
|
||||
# ifdef HAVE_PTHREAD_H
|
||||
|
||||
@@ -130,6 +130,7 @@ void Lyrics::SwitchTo()
|
||||
}
|
||||
RedrawHeader = 1;
|
||||
w->Clear();
|
||||
w->Reset();
|
||||
# ifdef HAVE_CURL_CURL_H
|
||||
static_cast<Window &>(*w) << "Fetching lyrics...";
|
||||
w->Window::Refresh();
|
||||
|
||||
Reference in New Issue
Block a user