mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: allow line layer to draw over edge
This is needed to avoid clippin when the line reaches the top. It's easier to just allow it to draw to the edge than to create alternative ways of adjusting height/width for the chart itself.
This commit is contained in:
@ -100,7 +100,7 @@ sysprof_line_layer_snapshot (GtkWidget *widget,
|
||||
else
|
||||
color = _sysprof_chart_layer_get_accent_bg_color ();
|
||||
|
||||
cr = gtk_snapshot_append_cairo (snapshot, &GRAPHENE_RECT_INIT (0, 0, width, height));
|
||||
cr = gtk_snapshot_append_cairo (snapshot, &GRAPHENE_RECT_INIT (0, -1, width, height+2));
|
||||
|
||||
if (self->antialias)
|
||||
cairo_set_antialias (cr, CAIRO_ANTIALIAS_GRAY);
|
||||
|
||||
Reference in New Issue
Block a user