reel: don't breech bottom border #1010

pull/1016/head
nick black 4 years ago
parent 5fc9f7b367
commit b7dc102eb8
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -96,7 +96,7 @@ drawcb(struct nctablet* t, bool drawfromtop){
pthread_mutex_lock(&tctx->lock);
unsigned rgb = tctx->rgb;
int ll;
int maxy = ncplane_dim_y(p) - 1;
int maxy = ncplane_dim_y(p);
ll = tabletdraw(p, maxy, tctx, rgb);
ncplane_set_fg_rgb(p, 242, 242, 242);
if(ll){

Loading…
Cancel
Save