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

feat(core): allow ordering of scenes during transition #832

Merged

Conversation

rmhartog
Copy link
Contributor

This PR adds a third argument to useTransition, which is a boolean or signal indicating whether the previous scene is rendered on top of the current scene during the transition.

Solves #369.

packages/core/src/scenes/GeneratorScene.ts Outdated Show resolved Hide resolved
packages/core/src/transitions/useTransition.ts Outdated Show resolved Hide resolved
packages/core/src/scenes/Scene.ts Outdated Show resolved Hide resolved
@rmhartog
Copy link
Contributor Author

@aarthificial I've updated the PR based on your comments. Could you take another look? 🙂

@aarthificial aarthificial merged commit 7a62b59 into motion-canvas:main Oct 25, 2023
9 checks passed
@aarthificial
Copy link
Contributor

Looks great, thanks!

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.

None yet

2 participants