chart: Don't clip

It doesn't seem necessary, and gets rid of the line cutoff in some
graphs.
This commit is contained in:
Georges Basile Stavracas Neto
2024-11-14 12:57:28 +01:00
parent f41263c23a
commit a7dc2b5061

View File

@ -138,11 +138,6 @@ sysprof_chart_snapshot (GtkWidget *widget,
g_assert (SYSPROF_IS_CHART (self));
gtk_snapshot_push_clip (snapshot,
&GRAPHENE_RECT_INIT (0, 0,
gtk_widget_get_width (widget),
gtk_widget_get_height (widget)));
GTK_WIDGET_CLASS (sysprof_chart_parent_class)->snapshot (widget, snapshot);
if (priv->pointer_in_chart)
@ -155,8 +150,6 @@ sysprof_chart_snapshot (GtkWidget *widget,
priv->motion_x,
priv->motion_y);
}
gtk_snapshot_pop (snapshot);
}
static gboolean