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

Reverse the animation side for layers that are above the fixed one #11

Open
rocboronat opened this issue Dec 1, 2016 · 1 comment
Open

Comments

@rocboronat
Copy link
Member

Right now, if there are three layers and we fix the second one, the first one and the third one will move to the same side. The thing is that the layer that is above the fixed one should move to the reversed side.

@Sloy
Copy link
Member

Sloy commented Dec 1, 2016

I can think of two solutions:

  • Manually setting a flag to move a specific layer to the inverse side.
  • Allowing negative indices for layers. By default they would start on 1. 0 means static, negative means move to the other side. This would make more sense as it would mimic the natural world, but implies an api-breaking change because right now index starts at 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants