mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
maxcolor: fix direction switch
This commit is contained in:
parent
63ada9289c
commit
4d877603c3
@ -55,7 +55,7 @@ slideitslideit(struct notcurses* nc, struct ncplane* n, uint64_t deadline,
|
||||
}else if(xoff == dimx - nx){
|
||||
--xoff;
|
||||
if(*direction == 1){
|
||||
*direction = 2;
|
||||
*direction = 0;
|
||||
}else if(*direction == 2){
|
||||
*direction = 3;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user