Skip to content

Commit

Permalink
fix image scaling after swipe down gesture ended in ViewImageFragment (
Browse files Browse the repository at this point in the history
  • Loading branch information
connyduck authored Dec 5, 2023
1 parent 390ae00 commit e1f2d63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class ViewImageFragment : ViewMediaFragment() {
if (abs(view.translationY) > 180) {
photoActionsListener.onDismiss()
} else {
view.animate().translationY(0f).scaleX(1f).start()
view.animate().translationY(0f).scaleX(1f).scaleY(1f).start()
}
}
})
Expand Down

0 comments on commit e1f2d63

Please sign in to comment.