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

Add shifting of layers in stacks as blocks that collide and bump other layers/nodes #1940

Merged
merged 22 commits into from
Aug 22, 2024

Conversation

adamgerhant
Copy link
Collaborator

@adamgerhant adamgerhant commented Aug 16, 2024

Closes #1932

When shifting layers in a stack, nodes above and below will be pushed in order to prevent overlap. There is also a rubber banding effect which tries to return nodes to their previous y position

chrome_vvkXXLev2n.mp4

@adamgerhant adamgerhant marked this pull request as ready for review August 21, 2024 05:28
@adamgerhant adamgerhant force-pushed the vertical-stack-shifting branch from 8e9971d to 659830b Compare August 22, 2024 00:18
@Keavon Keavon changed the title Shift layers in stack as blocks Shift layers in stack as blocks that collide and bump other layers/nodes Aug 22, 2024
@Keavon Keavon changed the title Shift layers in stack as blocks that collide and bump other layers/nodes Add shifting of layers in stacks as blocks that collide and bump other layers/nodes Aug 22, 2024
@Keavon Keavon merged commit 78337f9 into master Aug 22, 2024
4 checks passed
@Keavon Keavon deleted the vertical-stack-shifting branch August 22, 2024 08:56
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.

Vertically repositioning layers should push layers above/below it like blocks
2 participants