From 817f9880223c3816e12c2b04f3364788be137533 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 31 Jul 2022 21:10:03 +0200 Subject: [PATCH] animate: fix fill_rect height --- src/animate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animate.c b/src/animate.c index eb70769..99e46b5 100644 --- a/src/animate.c +++ b/src/animate.c @@ -27,7 +27,7 @@ void circles_wave(int frame, int w, int y_off, long dpi) double offset = sin(f / 60.0 * PI + i); int y = y_off + offset * amplitude; tfb_fill_rect(x - rad - 1, y_off - amplitude - rad, rad * 2 + 2, - 400 + rad * 2, tfb_black); + amplitude * 2 + rad * 2 + 1, tfb_black); tfb_fill_circle(x, y, rad, t_col); } }