chore(zoom): fix typing

This commit is contained in:
Braks
2022-07-16 14:37:08 +02:00
parent 45163f31c9
commit c0c72f1f6d
@@ -156,7 +156,7 @@ onMounted(() => {
d3Zoom.translateBy(d3Selection, -(deltaX / currentZoom) * panOnScrollSpeed, -(deltaY / currentZoom) * panOnScrollSpeed)
}
} else {
if ((!zoomOnScroll && preventScrolling) || !preventScrolling || isWrappedWithClass(event, noWheelClassName as any)) {
if ((!zoomOnScroll && preventScrolling) || !preventScrolling || isWrappedWithClass(event, noWheelClassName?.value)) {
return null
}