kitty: on redraw, move between annihilations

This commit is contained in:
nick black 2021-07-21 01:07:35 -04:00 committed by nick black
parent 3c6eac00e3
commit fcd62a04ec

View File

@ -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;