diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-30 20:01:13 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-30 20:01:13 +0200 |
commit | 7fbee61bcf22c3a73ca3127eb9a1fcdfdb45cdd7 (patch) | |
tree | ff24d40d35877019e0acf26716968feb3617bb62 /gtkplaylist.c | |
parent | 60f4bb1318cbf49daabda39da50e17ff3573147b (diff) |
fixed playlist cursor drawing bug (cairo_stroke)
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r-- | gtkplaylist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c index 6f01ffbb..6190b30d 100644 --- a/gtkplaylist.c +++ b/gtkplaylist.c @@ -111,7 +111,9 @@ draw_ps_row_back (GdkDrawable *drawable, cairo_t *cr, int row, playItem_t *it) { } if (row == playlist_row) { cairo_set_source_rgb (cr, 0x7f/255.f, 0x7f/255.f, 0x7f/255.f); - cairo_rectangle (cr, 0, row * rowheight - scrollpos * rowheight, width, rowheight); + cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE); + cairo_rectangle (cr, 0, row * rowheight - scrollpos * rowheight, width, rowheight-1); + cairo_set_line_width (cr, 1); cairo_stroke (cr); } } |