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

Zooming in on specific position(x, y) in a zoomed image (moving the screen). #160

Closed
YoungRan2 opened this issue Jul 11, 2019 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@YoungRan2
Copy link

I want to see on the screen by moving to the desired coordinates from the enlarged image only by coding without touching the screen by hand.

Using the code below, the image itself has moved.
(the starting point of the picture has moved... )

PhotoViewController _TouchScaleController;
_TouchScaleController.position = offset(130, -70);

Screenshot_2019-07-11-10-32-30

Regardless of whether the image is enlarged or not enlarged, I want the left and right ends to stick at the end of the screen.

@renancaraujo renancaraujo added the bug Something isn't working label Nov 6, 2019
@renancaraujo
Copy link
Member

Looks like a bug, the widget should clamp position even if set via controller.

@renancaraujo
Copy link
Member

Fixed on #208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants