mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
direct mode: don't scroll on image out due to overambitious sizing #1804
This commit is contained in:
parent
481d539092
commit
7b570ba813
@ -586,7 +586,7 @@ ncdirect_render_visual(ncdirect* n, ncvisual* ncv,
|
||||
if(vopts->scaling != NCSCALE_NONE && vopts->scaling != NCSCALE_NONE_HIRES){
|
||||
if(bset->geom != NCBLIT_PIXEL){
|
||||
dispcols = dimx * encoding_x_scale(&n->tcache, bset);
|
||||
disprows = dimy * encoding_y_scale(&n->tcache, bset);
|
||||
disprows = dimy * encoding_y_scale(&n->tcache, bset) - 1;
|
||||
outy = disprows;
|
||||
}else{
|
||||
dispcols = dimx * n->tcache.cellpixx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user