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

changing origin x of centerViewController.view (I don't need parallax center) #581

Open
leechoohyoung opened this issue Jun 3, 2019 · 0 comments

Comments

@leechoohyoung
Copy link

file : IIViewDeckLayoutSupport.m
method : - (CGRect)frameForSide:(IIViewDeckSide)side openSide:(IIViewDeckSide)openSide;
line : 83

CGFloat xOffset = (openSide == IIViewDeckSideLeft ? maxSize.width * 0.1 : -maxSize.width * 0.1);

Why did you hardcoded the value (0.1)?
I need to change the value above via new property of IIViewDeckController in IIViewDeckLayoutSupport.

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