diff options
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r-- | gtkplaylist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c index 7d110a8d..e649776c 100644 --- a/gtkplaylist.c +++ b/gtkplaylist.c @@ -625,6 +625,10 @@ gtkps_scroll (int newscroll) { } } } + else { + // invalidate entire cache + memset (drawps_cache, 0, sizeof (int16_t) * 3 * ncolumns * nvisiblerows); + } scrollpos = newscroll; GtkWidget *widget = lookup_widget (mainwin, "playlist"); draw_playlist (widget, 0, 0, widget->allocation.width, widget->allocation.height); |