Skip to content

Conversation

@nikclayton
Copy link
Contributor

Previously, ending a drag on an image (that didn't result in dismissing the fragment) animates the image back in to position restoring the X axis scale factor.

The Y axis scale factor was not restored, potentially breaking the image's aspect ratio. Restore the Y axis scale factor to fix this (ViewVideoFragment already handles this correctly).

Fixes #202

Previously, ending a drag on an image (that didn't result in dismissing
the fragment) animates the image back in to position restoring the X
axis scale factor.

The Y axis scale factor was not restored, potentially breaking the
image's aspect ratio. Restore the Y axis scale factor to fix this
(`ViewVideoFragment` already handles this correctly).

Fixes pachli#202
@nikclayton nikclayton merged commit 9dad367 into pachli:main Oct 28, 2023
@nikclayton nikclayton deleted the 202-aspect-ratio branch October 28, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image aspect ratio is not maintained when dragging it

1 participant