From 3d3d235abb1ff9e8d526e05c38fb10a2e9774b84 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 3 Apr 2021 21:21:21 -0400 Subject: [PATCH] [xray] update frame count for new video --- src/demo/xray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/demo/xray.c b/src/demo/xray.c index 9fbf2e7d1..aa27bef29 100644 --- a/src/demo/xray.c +++ b/src/demo/xray.c @@ -17,9 +17,9 @@ static const char* leg[] = { static struct ncplane* make_slider(struct notcurses* nc, int dimy, int dimx){ - // 600 frames in the video + // 487 frames in the video const int len = strlen(leg[0]); - const int REPS = 600 / len + dimx / len; + const int REPS = 487 / len + dimx / len; int y = dimy - sizeof(leg) / sizeof(*leg); struct ncplane_options nopts = { .y = y,