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

Wrap calculations for enforceBoundary: false in a conditional #326

Merged
merged 2 commits into from
May 24, 2017
Merged

Wrap calculations for enforceBoundary: false in a conditional #326

merged 2 commits into from
May 24, 2017

Conversation

patrickng
Copy link
Contributor

This is a quick fix for #247 and #325. There was a comment implying the offsets and calculations were only for enforceBoundary: false option - which caused problems for the default option of enforceBoundary: true.

Hope this helps!

@thedustinsmith thedustinsmith merged commit 05c8d08 into Foliotek:master May 24, 2017
@thedustinsmith
Copy link
Contributor

Ha! Nice catch. Thanks for helping out.

@raykudo
Copy link

raykudo commented May 28, 2017

#293 seems resolved too.

@stupotmcdoodlepip
Copy link

Perfect, thanks guys :)

@benj3
Copy link

benj3 commented Jul 5, 2017

Seems there is a problem still with enforceBoundary disabled on mobile where if you pinch to zoomout and rotate the image it just returns a blank white box. (The image needs to not be touching any of the edges)

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.

5 participants