From 79d2427d6d44df8cf20907420eccf87c06b821d9 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Tue, 14 Jul 2015 16:02:57 -0400 Subject: Feed screens now have a grey background, also have ability to scale images to crop or fit --- www/js/ModalCtrl.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'www/js/ModalCtrl.js') diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js index 535cadf3..cce6db09 100644 --- a/www/js/ModalCtrl.js +++ b/www/js/ModalCtrl.js @@ -9,9 +9,13 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco console.log("**** INSIDE MODAL CTRL *****"); + // This holds the PTZ menu control // Note that I hacked radialMenu // so please don't use the one you get from bower + + //var imageStyle=1; + //$scope.imageAspect = "max-width: 100%;max-height: 100%;"; $scope.radialMenuOptions = { content: '', @@ -121,6 +125,10 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco }, ]}; + + + + //------------------------------------------------------------- // Send PTZ command to ZM // Note: PTZ fails on desktop, don't bother about it @@ -214,4 +222,6 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco }; + + }]); -- cgit v1.2.3