We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28f53c5 + 6970349 commit 954c33aCopy full SHA for 954c33a
index.js
@@ -145,7 +145,7 @@ function createPanZoom(domElement, options) {
145
var initialY = typeof options.initialY === 'number' ? options.initialY : transform.y;
146
var initialZoom = typeof options.initialZoom === 'number' ? options.initialZoom : transform.scale;
147
148
- if(initialX != transform.x || initialY != transform.y || initialZoom != transform.Scale){
+ if(initialX != transform.x || initialY != transform.y || initialZoom != transform.scale){
149
zoomAbs(initialX, initialY, initialZoom);
150
}
151
0 commit comments