summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-10-21 06:44:34 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-10-21 06:44:34 -0400
commita585c9265f7b54f4eb07b436a62dfa4c4dc301ee (patch)
treef743b8f25c51adc4982d3dd812c948474f3fc337
parentc5858ddf7113e891dcb7352b3598b770c1fa820f (diff)
#1005 allow 50x zoom
-rw-r--r--www/templates/events-modal.html2
-rw-r--r--www/templates/monitors-modal.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index de0f74c9..a5103b90 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -19,7 +19,7 @@
</ion-scroll>
</div>
- <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" delegate-handle="imgscroll"
+ <ion-scroll has-bouncing=false min-zoom="1" max-zoom="50" zooming="true" direction="xy" delegate-handle="imgscroll"
overflow-scroll="false" scrollbar-x="false" scrollbar-y="false">
<div id="full-screen-event" style="height: 100vh;">
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 0da43cfd..69b25323 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -3,8 +3,8 @@
<ion-content ng-cloak on-double-tap="closeModal();" scroll="false" class="notch-ready">
<div id="imagecontainer">
- <ion-scroll on-scroll="checkZoom()" delegate-handle="imgscroll" has-bouncing=false min-zoom=1
- zooming="true" direction="xy" style="width: 100%;" overflow-scroll="false">
+ <ion-scroll on-scroll="checkZoom()" delegate-handle="imgscroll" has-bouncing=false min-zoom="1"
+ zooming="true" max-zoom="50" direction="xy" style="width: 100%;" overflow-scroll="false">
<!-- android needs this 100vh - otherwise max- does not work -->
<!-- -->