summaryrefslogtreecommitdiff
path: root/www/js/ModalCtrl.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-14 16:02:57 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-14 16:02:57 -0400
commit79d2427d6d44df8cf20907420eccf87c06b821d9 (patch)
treecda8d1ce27c0933df15ccdb19a892bba31970808 /www/js/ModalCtrl.js
parent95d3bed1b71c7801981a9c78454adfa8fadbd486 (diff)
Feed screens now have a grey background, also have ability to scale images to crop or fit
Diffstat (limited to 'www/js/ModalCtrl.js')
-rw-r--r--www/js/ModalCtrl.js10
1 files changed, 10 insertions, 0 deletions
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
};
+
+
}]);