ncvisual_stream: erase before each draw for partial transparencies #1093

pull/1097/head
nick black 4 years ago
parent 79e1a556ae
commit 20ff1fe73b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -348,6 +348,9 @@ int ncvisual_stream(notcurses* nc, ncvisual* ncv, float timescale,
if(frame == 1 && ts){
usets = true;
}
if(activevopts.n){
ncplane_erase(activevopts.n); // new frame could be partially transparent
}
if((newn = ncvisual_render(nc, ncv, &activevopts)) == NULL){
if(activevopts.n != vopts->n){
ncplane_destroy(activevopts.n);

Loading…
Cancel
Save