Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Mar 28, 2024
1 parent 3312fba commit c3f92dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/zoom/zoom.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand Down

0 comments on commit c3f92dc

Please sign in to comment.