Fix rendering bug for swap graph (relates to #44)

This commit is contained in:
Simon Steinbeiss
2022-05-24 11:17:55 +02:00
parent b9fec9164f
commit 86e1493a22

View File

@@ -187,6 +187,7 @@ xtm_process_monitor_graph_surface_create (XtmProcessMonitor *monitor, gint width
cairo_line_to (cr, width, (1.0 - ((gdouble)(*peak))) * height);
}
cairo_set_source_rgba (cr, 0.33, 0.04, 0.16, 0.3);
cairo_line_to (cr, width, height);
cairo_fill_preserve (cr);
cairo_set_source_rgba (cr, 0.33, 0.04, 0.16, 1.0);
cairo_stroke (cr);