mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-12 18:49:03 -04:00
trans: adapt to ncmenu #332
This commit is contained in:
parent
d55f1b78d8
commit
501fe166e4
@ -73,8 +73,8 @@ slideitslideit(struct notcurses* nc, struct ncplane* n, uint64_t deadline,
|
||||
xoff = dimx - nx - 1;
|
||||
*velx = -*velx;
|
||||
}
|
||||
if(yoff <= 0){
|
||||
yoff = 0;
|
||||
if(yoff <= 2){
|
||||
yoff = 2;
|
||||
*vely = -*vely;
|
||||
}else if(yoff >= dimy - ny){
|
||||
yoff = dimy - ny - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user