flame-graph: trim off some whispies

This commit is contained in:
Christian Hergert
2024-09-12 13:07:51 -07:00
parent 4142472984
commit b8781e733c

View File

@ -269,6 +269,9 @@ sysprof_flame_graph_snapshot (GtkWidget *widget,
rect->w / (double)G_MAXUINT16 * width,
rect->h);
if (area.size.width < .25)
continue;
if (!highlight && graphene_rect_contains_point (&area, &point))
highlight = rect;