mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
chart: Don't clip
It doesn't seem necessary, and gets rid of the line cutoff in some graphs.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user