Skip to content

Commit 8d6c699

Browse files
authored
Merge pull request #35931 from andreasnw/fix/35383-zoomed_large_image_dissapears_from_preview
fix: [35383] zoomed large image disappears from preview if triple tap on the bottom of the screen
2 parents 0280d4e + 6cb78bb commit 8d6c699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MultiGestureCanvas/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ function MultiGestureCanvas({
113113
stopAnimation();
114114

115115
if (animated) {
116-
offsetX.value = withSpring(0, SPRING_CONFIG);
117-
offsetY.value = withSpring(0, SPRING_CONFIG);
116+
offsetX.value = 0;
117+
offsetY.value = 0;
118118
panTranslateX.value = withSpring(0, SPRING_CONFIG);
119119
panTranslateY.value = withSpring(0, SPRING_CONFIG);
120120
pinchTranslateX.value = withSpring(0, SPRING_CONFIG);

0 commit comments

Comments
 (0)