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

Show full view controller in the preview #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hansstefan
Copy link
Contributor

Currently view controller is cropped to the size of imageContainer (becouse it has a larger frame).
My proposal is to set the padding for the preview just before commit, imageViewFrame to match the final targetPreviewView size, and in animateProgress just play with scale transforms.

After this the preview looks more like the original one.
peekpop_better_scaling

@marmelroy
Copy link
Owner

Thanks @hansstefan but I'm not so sure this is the best approach. Need to play with it a bit more.

@narlei
Copy link

narlei commented Mar 30, 2017

Please merge this!

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.

3 participants