aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/services')
-rw-r--r--viewer/src/services/ldzoom.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/viewer/src/services/ldzoom.ts b/viewer/src/services/ldzoom.ts
index a494211..50f006e 100644
--- a/viewer/src/services/ldzoom.ts
+++ b/viewer/src/services/ldzoom.ts
@@ -60,6 +60,8 @@ export default class LdZoom {
60 const pinchListener = new Hammer(this.containerElement); 60 const pinchListener = new Hammer(this.containerElement);
61 pinchListener.get('pinch').set({enable: true}); 61 pinchListener.get('pinch').set({enable: true});
62 this.installPinchHandler(pinchListener); 62 this.installPinchHandler(pinchListener);
63
64 this.setImageScale(this.scaleFactor);
63 } 65 }
64 66
65 private installPinchHandler(pinchListener: HammerManager) { 67 private installPinchHandler(pinchListener: HammerManager) {