mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
kitty: on redraw, move between annihilations
This commit is contained in:
parent
3c6eac00e3
commit
fcd62a04ec
@ -550,6 +550,13 @@ write_kitty_data(FILE* fp, int linesize, int leny, int lenx, int cols,
|
||||
const int vyx = (y % cdimy) * cdimx + (x % cdimx);
|
||||
tam[tyx].auxvector[vyx] = ncpixel_a(source[e]);
|
||||
}
|
||||
if(rgba_trans_p(source[e], transcolor)){
|
||||
if(x % cdimx == 0 && y % cdimy == 0){
|
||||
tam[tyx].state = SPRIXCELL_ANNIHILATED_TRANS;
|
||||
}
|
||||
}else{
|
||||
tam[tyx].state = SPRIXCELL_ANNIHILATED;
|
||||
}
|
||||
wipe[e] = 1;
|
||||
}else{
|
||||
wipe[e] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user