Skip to content

Commit 19df6ca

Browse files
committed
fix(core): event type
1 parent ed2e574 commit 19df6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/container/Viewport/Viewport.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ onMounted(() => {
151151
}
152152
})
153153
154-
d3Zoom.filter((event: MouseEvent | TouchEvent) => {
154+
d3Zoom.filter((event: MouseEvent | TouchEvent | WheelEvent) => {
155155
const zoomScroll = zoomKeyPressed.value || zoomOnScroll.value
156156
const pinchZoom = zoomOnPinch.value && event.ctrlKey
157157
const eventButton = (event as MouseEvent).button

0 commit comments

Comments
 (0)