mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: stroke line on half-pixel boundary
This commit is contained in:
@ -122,8 +122,8 @@ sysprof_cell_renderer_duration_render (GtkCellRenderer *renderer,
|
||||
else
|
||||
{
|
||||
cairo_set_line_width (cr, 1);
|
||||
cairo_move_to (cr, r.x, r.y);
|
||||
cairo_line_to (cr, r.x, r.y + r.height);
|
||||
cairo_move_to (cr, r.x + .5, r.y);
|
||||
cairo_line_to (cr, r.x + .5, r.y + r.height);
|
||||
cairo_stroke (cr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user