diff --git a/src/demo/xray.c b/src/demo/xray.c index 1797788a4..a964b5933 100644 --- a/src/demo/xray.c +++ b/src/demo/xray.c @@ -106,10 +106,11 @@ int xray_demo(struct notcurses* nc){ struct ncvisual_options vopts = { .n = n, .y = NCALIGN_CENTER, + .x = NCALIGN_CENTER, .scaling = NCSCALE_SCALE_HIRES, .blitter = NCBLIT_PIXEL, .flags = NCVISUAL_OPTION_NODEGRADE // to test for NCBLIT_PIXEL - | NCVISUAL_OPTION_VERALIGNED, + | NCVISUAL_OPTION_VERALIGNED | NCVISUAL_OPTION_HORALIGNED, }; float dm = 0; // returns 0 if the selected blitter isn't available