@ -665,10 +665,10 @@ ncplane* ncvisual_render_pixels(notcurses* nc, ncvisual* ncv, const struct blits
disprows *= nc->tcache.cellpixy;
clamp_to_sixelmax(&nc->tcache, &disprows, &dispcols);
if(!(flags & NCVISUAL_OPTION_HORALIGNED)){
dispcols -= (placex * nc->tcache.cellpixx + 1);
dispcols -= placex * nc->tcache.cellpixx;
}
if(!(flags & NCVISUAL_OPTION_VERALIGNED)){
disprows -= (placey * nc->tcache.cellpixy + 1);
disprows -= placey * nc->tcache.cellpixy;
@ -70,7 +70,7 @@ TEST_CASE("Bitmaps") {
.userptr = nullptr, .name = "bigp", .resizecb = nullptr,
.flags = 0, .margin_b = 0, .margin_r = 0,
};
vopts.scaling = NCSCALE_STRETCH;
vopts.scaling = NCSCALE_SCALE;
vopts.n = ncplane_create(n_, &nopts);
REQUIRE(vopts.n);
uint64_t white = CHANNELS_RGB_INITIALIZER(0xff, 0xff, 0xff, 0xff, 0xff, 0xff);