summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-29 09:37:04 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-29 09:37:04 -0400
commite9eea88e14a428327eb6f54fce5f8be1b83354ae (patch)
treeb5df2a9988c287b15a45d0a0a69f007f0aafaf98
parent5283b2cf9e97baced8928d97a0c86c28ffbe6d1a (diff)
#815 zoom buttons for event playback (desktop)
-rw-r--r--www/js/EventModalCtrl.js2
-rw-r--r--www/templates/events-modal.html11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js
index eb7e5524..c59b314f 100644
--- a/www/js/EventModalCtrl.js
+++ b/www/js/EventModalCtrl.js
@@ -1538,7 +1538,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro
$scope.onSwipeEvent = function (eid, dirn) {
- console.log("CALLED WITH " + eid + " dirn " + dirn);
+ //console.log("CALLED WITH " + eid + " dirn " + dirn);
if ($ionicScrollDelegate.$getByHandle("imgscroll").getScrollPosition().zoom != 1) {
//console.log("Image is zoomed in - not honoring swipe");
return;
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 3fe3824b..6fa1f094 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -194,6 +194,17 @@
</a>
</li>
+ <li ng-if="$root.platformOS == 'desktop' && isToggleListMenu">
+ <a href="" ng-click="zoomImage(1)">
+ <i class="ion-plus-round"></i>
+ </a>
+ </li>
+ <li ng-if="$root.platformOS == 'desktop' && isToggleListMenu">
+ <a href="" ng-click="zoomImage(-1)">
+ <i class="ion-minus-round"></i>
+ </a>
+ </li>
+
</ul>
</div>
</div>