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

Wrong offset after zoom and size change #13

Closed
Sedins opened this issue Feb 12, 2014 · 2 comments
Closed

Wrong offset after zoom and size change #13

Sedins opened this issue Feb 12, 2014 · 2 comments

Comments

@Sedins
Copy link

Sedins commented Feb 12, 2014

There seem to be a problem with offset or similar when changing size on the cropbox after zooming.

Reproduce:

  1. Go to the demo at http://acornejo.github.io/jquery-cropbox/
  2. Zoom in a bit (press + sign 5 times or similar to see it easily)
  3. Change size of cropbox (default to 300)
  4. Now the zoomed image is not centered anymore and seem to have a bad offset

Tested both in Chrome 32.0.1700.107 and Internet Explorer 11.

Here is a screenshot after repeating the steps above. Hope it is an easy fix, would come in very handy.

cropboxoffset

@acornejo
Copy link
Owner

Fixed, closing this issue.

@Sedins
Copy link
Author

Sedins commented Feb 21, 2014

Just wanted to say that I've tested and it works without problems.

If you want to be picky, so for me at least, it shows the image zoomed in right before changing the size which looks a bit odd. But this is no deal breaker and I'm unsure if it reproduces on the demo site neither.

Anyway, thanks for the nice correction :)

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