From aae4f1522fa3471b341891236143aeac057b9619 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 2 May 2025 14:35:58 -0400 Subject: clear canvas before redrawing point --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.c') diff --git a/ui.c b/ui.c index b5f36cd..70df447 100644 --- a/ui.c +++ b/ui.c @@ -443,7 +443,7 @@ compute(UI *ui, int idx) { compute_mass_flow_rate(ui, idx); compute_mass_flow_rate_corrected(ui, idx); - /* TODO: clear canvas. */ + w_clear_canvas(&ui->comp_img); draw_point(ui, idx, POINT_COLOR); } -- cgit v1.2.3