update playlist's timer while scrolling with fancy_scrolling disabled

not updating it caused highlight to be disabled
during scrolling if key was being held long enough.
This commit is contained in:
Andrzej Rybczak
2010-02-05 17:19:53 +01:00
parent bd64052f11
commit b01801ea22
3 changed files with 8 additions and 1 deletions

View File

@@ -241,6 +241,12 @@ void Playlist::SpacePressed()
}
}
void Playlist::ReadKey(int &key)
{
w->ReadKey(key);
UpdateTimer();
}
void Playlist::MouseButtonPressed(MEVENT me)
{
if (w == Items && !Items->Empty() && Items->hasCoords(me.x, me.y))