Skip to content

Commit 954c33a

Browse files
authored
Merge pull request #237 from ralph-remo/master
transform.scale typo
2 parents 28f53c5 + 6970349 commit 954c33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function createPanZoom(domElement, options) {
145145
var initialY = typeof options.initialY === 'number' ? options.initialY : transform.y;
146146
var initialZoom = typeof options.initialZoom === 'number' ? options.initialZoom : transform.scale;
147147

148-
if(initialX != transform.x || initialY != transform.y || initialZoom != transform.Scale){
148+
if(initialX != transform.x || initialY != transform.y || initialZoom != transform.scale){
149149
zoomAbs(initialX, initialY, initialZoom);
150150
}
151151

0 commit comments

Comments
 (0)