Skip to content

Commit 36fc73e

Browse files
committed
fix: trigger onZoomStart from pinchStart
1 parent bfd207d commit 36fc73e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hammer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ function handlePinch(chart, state, e) {
6868

6969
function startPinch(chart, state) {
7070
if (state.options.zoom.pinch.enabled) {
71+
call(state.options.zoom.onZoomStart, [{chart}]);
7172
state.scale = 1;
7273
}
7374
}

0 commit comments

Comments
 (0)