From c3f92dcb21a94a430643b58ad7309f2ae3f9f83e Mon Sep 17 00:00:00 2001 From: Vladimir Kharlampidi Date: Thu, 28 Mar 2024 15:20:32 +0300 Subject: [PATCH] fix typo --- src/modules/zoom/zoom.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/zoom/zoom.mjs b/src/modules/zoom/zoom.mjs index 625c51d47..5d6688eea 100644 --- a/src/modules/zoom/zoom.mjs +++ b/src/modules/zoom/zoom.mjs @@ -315,7 +315,7 @@ export default function Zoom({ swiper, extendParams, on, emit }) { const scaleRatio = (zoom.scale - currentScale) / (gesture.maxRatio - swiper.params.zoom.minRatio); const { originX, originY } = gesture; - console.log(image); + image.currentX = image.touchesCurrent.x - image.touchesStart.x +