fix image scaling after swipe down gesture ended in ViewImageFragment (#4135)
closes #4132
This commit is contained in:
parent
390ae00cb5
commit
e1f2d639aa
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue