summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index a4da30dc..42c96118 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -1251,6 +1251,14 @@ angular.module('zmApp.controllers')
{
var ld = ZMDataModel.getLogin();
if (!ld.canSwipeMonitors) return;
+
+ if
+ ($ionicScrollDelegate.$getByHandle("imgscroll").getScrollPosition().zoom!=1)
+ {
+ console.log("Image is zoomed in - not honoring swipe");
+ return;
+ }
+
jumpToEvent(eid,dirn);
};