From 8cc0496efc897a7fc9b03be30839b4dc6f25c071 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Fri, 20 Nov 2015 10:32:42 -0500 Subject: #90 - toggle label beween 'fill screen' and 'fit screen' so its easier to understand. Also switched default to fit Former-commit-id: c16f04a43f8be2cb2c20e377cb6a3ea2f6fb511f --- www/js/ModalCtrl.js | 2 +- www/templates/events-modal.html | 2 +- www/templates/monitors-modal.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js index b57e390e..7679d691 100644 --- a/www/js/ModalCtrl.js +++ b/www/js/ModalCtrl.js @@ -27,7 +27,7 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco }); $scope.animationInProgress = false; - $scope.imageFit = false; + $scope.imageFit = true; // FIXME: This is a hack - for some reason // the custom slider view is messed up till the image loads // in modal view diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 6efb4f07..0b851e78 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -78,7 +78,7 @@ - + diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 65e99803..2bb90dfb 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -56,7 +56,7 @@