Skip to content

Commit 6fa95ea

Browse files
committed
fix(zoom): zoom image shifting
1 parent 9cfa872 commit 6fa95ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/zoom/lg-zoom.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ export default class Zoom {
515515
(event: CustomEvent) => {
516516
const { prevIndex } = event.detail;
517517
this.scale = 1;
518+
this.positionChanged = false;
518519
this.resetZoom(prevIndex);
519520
},
520521
);

0 commit comments

Comments
 (0)