aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/services/ldzoom.ts
diff options
context:
space:
mode:
authorpacien2020-09-25 16:01:49 +0200
committerpacien2020-09-25 16:01:49 +0200
commite93f7b1eb84c083d67567115284c0002a3a7d5fc (patch)
tree8d373e8f7f571485e1330928f43b090ed004c525 /viewer/src/services/ldzoom.ts
parent8e3ac8fe44bebb38e1882ca7f06b8100078ad88d (diff)
parentfd542f75a1d94ee5f804d0925823276b97f38581 (diff)
downloadldgallery-e93f7b1eb84c083d67567115284c0002a3a7d5fc.tar.gz
Merge branch 'develop' for release v2.0v2.0
Diffstat (limited to 'viewer/src/services/ldzoom.ts')
-rw-r--r--viewer/src/services/ldzoom.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/viewer/src/services/ldzoom.ts b/viewer/src/services/ldzoom.ts
index ddf57c0..22d4699 100644
--- a/viewer/src/services/ldzoom.ts
+++ b/viewer/src/services/ldzoom.ts
@@ -33,9 +33,11 @@ export default class LdZoom {
33 scaleFactor: number = 0.0; 33 scaleFactor: number = 0.0;
34 34
35 constructor( 35 constructor(
36 containerElement: HTMLDivElement, imageElement: HTMLImageElement, 36 containerElement: HTMLDivElement,
37 imageElement: HTMLImageElement,
37 pictureProperties: Gallery.PictureProperties, 38 pictureProperties: Gallery.PictureProperties,
38 maxScaleFactor: number, scrollZoomSpeed: number 39 maxScaleFactor: number,
40 scrollZoomSpeed: number
39 ) { 41 ) {
40 this.containerElement = containerElement; 42 this.containerElement = containerElement;
41 this.imageElement = imageElement; 43 this.imageElement = imageElement;