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;
|
RedrawHeader = 1;
|
||||||
itsTitle = "Song info";
|
itsTitle = "Song info";
|
||||||
w->Clear();
|
w->Clear();
|
||||||
|
w->Reset();
|
||||||
PrepareSong(*s);
|
PrepareSong(*s);
|
||||||
w->Window::Clear();
|
w->Window::Clear();
|
||||||
w->Flush();
|
w->Flush();
|
||||||
@@ -172,6 +173,7 @@ void Info::GetArtist()
|
|||||||
RedrawHeader = 1;
|
RedrawHeader = 1;
|
||||||
itsTitle = "Artist info - " + itsArtist;
|
itsTitle = "Artist info - " + itsArtist;
|
||||||
w->Clear();
|
w->Clear();
|
||||||
|
w->Reset();
|
||||||
static_cast<Window &>(*w) << "Fetching artist info...";
|
static_cast<Window &>(*w) << "Fetching artist info...";
|
||||||
w->Window::Refresh();
|
w->Window::Refresh();
|
||||||
# ifdef HAVE_PTHREAD_H
|
# ifdef HAVE_PTHREAD_H
|
||||||
|
|||||||
@@ -130,6 +130,7 @@ void Lyrics::SwitchTo()
|
|||||||
}
|
}
|
||||||
RedrawHeader = 1;
|
RedrawHeader = 1;
|
||||||
w->Clear();
|
w->Clear();
|
||||||
|
w->Reset();
|
||||||
# ifdef HAVE_CURL_CURL_H
|
# ifdef HAVE_CURL_CURL_H
|
||||||
static_cast<Window &>(*w) << "Fetching lyrics...";
|
static_cast<Window &>(*w) << "Fetching lyrics...";
|
||||||
w->Window::Refresh();
|
w->Window::Refresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user