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

Images drifting off screen #326

Open
a4992214 opened this issue Apr 26, 2024 · 1 comment
Open

Images drifting off screen #326

a4992214 opened this issue Apr 26, 2024 · 1 comment

Comments

@a4992214
Copy link

Is there a way to limit the drifting. When I push an image with the mouse - it drifts in that direction but I am finding the image drifts off the screen, is there a way to set limits (i.e. to prevent the image from leaving the screen)?

@a4992214
Copy link
Author

_pan = panzoom(_fullImage
, {bounds: true, boundsPadding: 0.3,
.....});

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

1 participant