From 0f435240d6033f191907c3c7030cf4715a0cb9a5 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 15 Jan 2020 04:44:45 -0500 Subject: [PATCH] xray: scroll twice as quickly --- src/demo/xray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/xray.c b/src/demo/xray.c index cf30e5715..03d8b39a6 100644 --- a/src/demo/xray.c +++ b/src/demo/xray.c @@ -51,7 +51,7 @@ perframecb(struct notcurses* nc, struct ncvisual* ncv __attribute__ ((unused)), ncplane_set_base(n, &c); ncplane_set_bg_alpha(n, CELL_ALPHA_BLEND); // fg/bg rgbs are set within loop - int x = dimx - frameno; + int x = dimx - (frameno * 2); int r = startr; int g = startg; int b = startb;