Browse Source

fix scrolling with disabling options

merge-requests/12/merge
vargburz 2 years ago
parent
commit
23b38f6780
  1. 2
      dist/index.js
  2. 6
      src/index.ts

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

6
src/index.ts

@ -668,11 +668,7 @@ abstract class ChartwerkPod<T extends TimeSerie, O extends Options> {
this.state.transform.k = k;
return;
}
} else {
const isPanActive = this.options.zoomEvents.mouse.pan.isActive;
if(!isPanActive) {
return;
}
return;
}
const panOrientation = this.options.zoomEvents.mouse.pan.orientation;

Loading…
Cancel
Save