Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The image is always re-centered when dragging (even if boundaries are not reached) #85

Closed
ramtinq opened this issue Mar 9, 2023 · 1 comment

Comments

@ramtinq
Copy link

ramtinq commented Mar 9, 2023

If for example we have an image with controller.aspectRatio = 16 / 9 and an image with smaller aspect ratio, like 9 / 16, and we drag up and down, the image is re-centered. This should not happen except when we have dragged more than the boundaries, and then the image should move to the position just before exceeding the boundaries.

@ramtinq ramtinq changed the title The image is always re-centered when dragging and boundaries are not reached The image is always re-centered when dragging (even if boundaries are not reached) Mar 9, 2023
@xclud
Copy link
Owner

xclud commented Mar 9, 2023

This is a dup of #27.

@xclud xclud closed this as completed Mar 9, 2023
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

No branches or pull requests

2 participants