diff options
author | Christian Boxdörfer <christian.boxdoerfer@posteo.de> | 2014-05-22 20:01:36 +0200 |
---|---|---|
committer | Christian Boxdörfer <christian.boxdoerfer@posteo.de> | 2014-05-22 20:01:36 +0200 |
commit | f910d96a415d0e1c64a941ce3e012039caaf24e1 (patch) | |
tree | d68a98fc8ad4d62240aca0e5960dff5e99fb6614 /plugins/gtkui | |
parent | d930153d1bcd6f260d2b6e4da662bc4bd9c49682 (diff) |
gtkui: fix calculation of album art column position (hscrollpos was ignored)
Diffstat (limited to 'plugins/gtkui')
-rw-r--r-- | plugins/gtkui/ddblistview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c index 0b82c07e..e5e5d584 100644 --- a/plugins/gtkui/ddblistview.c +++ b/plugins/gtkui/ddblistview.c @@ -614,7 +614,7 @@ int ddb_listview_is_album_art_column (DdbListview *listview, int x) { int album_art_column = 0; - int col_x = 0; + int col_x = -listview->hscrollpos; int cnt = ddb_listview_column_get_count (listview); for (int i = 0; i < cnt, col_x <= x; i++) { const char *title; |