Skip to content

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

Merged
aarthificial merged 1 commit into
motion-canvas:mainfrom
rmhartog:dynamic-scene-order-transition
Oct 25, 2023
Merged

feat(core): allow ordering of scenes during transition#832
aarthificial merged 1 commit into
motion-canvas:mainfrom
rmhartog:dynamic-scene-order-transition

Conversation

@rmhartog

Copy link
Copy Markdown
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.

Comment thread packages/core/src/scenes/GeneratorScene.ts Outdated
Comment thread packages/core/src/transitions/useTransition.ts Outdated
Comment thread packages/core/src/scenes/Scene.ts Outdated
@rmhartog
rmhartog force-pushed the dynamic-scene-order-transition branch from a73c623 to 466a8e3 Compare October 25, 2023 05:57
@rmhartog
rmhartog requested a review from aarthificial October 25, 2023 06:07
@rmhartog

Copy link
Copy Markdown
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
@aarthificial

Copy link
Copy Markdown
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.

2 participants