[trans] do final object (logo) twice as long

This commit is contained in:
nick black 2021-11-02 00:44:34 -04:00
parent c2391f7b88
commit dfde3a6875
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -260,7 +260,7 @@ slidepanel(struct notcurses* nc, struct ncplane* stdn){
ncvisual_destroy(ncv); ncvisual_destroy(ncv);
clock_gettime(CLOCK_MONOTONIC, &cur); clock_gettime(CLOCK_MONOTONIC, &cur);
l = legend(nc, "partially-transparent image"); l = legend(nc, "partially-transparent image");
deadlinens = timespec_to_ns(&cur) + timespec_to_ns(&demodelay); deadlinens = timespec_to_ns(&cur) + 2 * timespec_to_ns(&demodelay);
if( (err = slideitslideit(nc, n, deadlinens, &vely, &velx)) ){ if( (err = slideitslideit(nc, n, deadlinens, &vely, &velx)) ){
ncplane_destroy(n); ncplane_destroy(n);
ncplane_destroy(l); ncplane_destroy(l);