animate: fix fill_rect height

This commit is contained in:
Oliver Smith 2022-07-31 21:10:03 +02:00 committed by Caleb Connolly
parent f94f3269da
commit 817f988022
No known key found for this signature in database
GPG key ID: 0583312B195F64B6

View file

@ -27,7 +27,7 @@ void circles_wave(int frame, int w, int y_off, long dpi)
double offset = sin(f / 60.0 * PI + i); double offset = sin(f / 60.0 * PI + i);
int y = y_off + offset * amplitude; int y = y_off + offset * amplitude;
tfb_fill_rect(x - rad - 1, y_off - amplitude - rad, rad * 2 + 2, 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); tfb_fill_circle(x, y, rad, t_col);
} }
} }