1
0
mirror of https://github.com/tuskyapp/Tusky synced 2024-12-12 09:08:16 +01:00

fix image scaling after swipe down gesture ended in ViewImageFragment (#4135)

closes #4132
This commit is contained in:
Konrad Pozniak 2023-12-05 19:28:52 +01:00 committed by GitHub
parent 390ae00cb5
commit e1f2d639aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ class ViewImageFragment : ViewMediaFragment() {
if (abs(view.translationY) > 180) { if (abs(view.translationY) > 180) {
photoActionsListener.onDismiss() photoActionsListener.onDismiss()
} else { } else {
view.animate().translationY(0f).scaleX(1f).start() view.animate().translationY(0f).scaleX(1f).scaleY(1f).start()
} }
} }
}) })