Skip to content

Commit

Permalink
Merge pull request #35931 from andreasnw/fix/35383-zoomed_large_image…
Browse files Browse the repository at this point in the history
…_dissapears_from_preview

fix: [35383] zoomed large image disappears from preview if triple tap on the bottom of the screen
  • Loading branch information
rlinoz authored Feb 23, 2024
2 parents 0280d4e + 6cb78bb commit 8d6c699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MultiGestureCanvas/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ function MultiGestureCanvas({
stopAnimation();

if (animated) {
offsetX.value = withSpring(0, SPRING_CONFIG);
offsetY.value = withSpring(0, SPRING_CONFIG);
offsetX.value = 0;
offsetY.value = 0;
panTranslateX.value = withSpring(0, SPRING_CONFIG);
panTranslateY.value = withSpring(0, SPRING_CONFIG);
pinchTranslateX.value = withSpring(0, SPRING_CONFIG);
Expand Down

0 comments on commit 8d6c699

Please sign in to comment.