From 628e4f52203f2d6f8202515207b4801efec8e301 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Sun, 26 Jul 2015 18:28:46 -0400 Subject: reduce image loading buffer of carousel (for low config devices) also made sure scrub carousel is cleared if full screen is opened so as not to double images --- www/js/ModalCtrl.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'www/js/ModalCtrl.js') diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js index eb7e7754..8b48c077 100644 --- a/www/js/ModalCtrl.js +++ b/www/js/ModalCtrl.js @@ -19,6 +19,15 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco //var imageStyle=1; //$scope.imageAspect = "max-width: 100%;max-height: 100%;"; $scope.imageFit=false; + // FIXME: This is a hack - for some reason + // the custom slider view is messed up till the image loads + // in modal view + $scope.showModalRangeSider = false; + + $timeout( function() { + $scope.showModalRangeSider = true; + console.log ("****SHOWING SLIDER"); + },2000); $scope.radialMenuOptions = { content: '', -- cgit v1.2.3