mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +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
|
else
|
||||||
{
|
{
|
||||||
cairo_set_line_width (cr, 1);
|
cairo_set_line_width (cr, 1);
|
||||||
cairo_move_to (cr, r.x, r.y);
|
cairo_move_to (cr, r.x + .5, r.y);
|
||||||
cairo_line_to (cr, r.x, r.y + r.height);
|
cairo_line_to (cr, r.x + .5, r.y + r.height);
|
||||||
cairo_stroke (cr);
|
cairo_stroke (cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user