libsysprof-ui: show syscall stacks in red

This commit is contained in:
Christian Hergert
2019-05-20 16:06:05 -07:00
parent 77b8edd1b2
commit 21ff550e1a
2 changed files with 43 additions and 7 deletions

View File

@ -294,7 +294,7 @@ sysprof_visualizer_row_translate_points (SysprofVisualizerRow
for (guint i = 0; i < n_in_points; i++)
{
out_points[i].x = (in_points[i].x * graph_width);
out_points[i].y = alloc.height - (in_points[i].y * alloc.height);
out_points[i].y = alloc.height - (ABS (in_points[i].y) * alloc.height);
}
}