From af9929fa253ecc1194c7b7185ea1ec76d8dc79d5 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Tue, 19 Jan 2016 13:20:14 -0500 Subject: improve image tearing when playback is too fast Former-commit-id: 49e6b48c80a9102ab2195e238c7471ad9476efdc --- www/external/angular-carousel.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/external') diff --git a/www/external/angular-carousel.js b/www/external/angular-carousel.js index 452ea227..4a853981 100644 --- a/www/external/angular-carousel.js +++ b/www/external/angular-carousel.js @@ -451,12 +451,13 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach } else { + scope.autoSlide(); // lets move the index along - PP // so playback total time is not affected - scope.carouselIndex = index; + // scope.carouselIndex = index; //console.log ("Image is still loading, not skipping slides, index at "+index); - updateBufferIndex(); + // updateBufferIndex(); //console.log ("NOT LOADED but advancing carousel to " + scope.carouselIndex); } -- cgit v1.2.3