-
Notifications
You must be signed in to change notification settings - Fork 0
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
align components new when position other components between them #16
Comments
I've just finished implementing this, components can now be inserted in the middle of the "data flow" and all following components will be repositioned. Additionally, once a component is dragged out of the "data flow" the gap will be closed and all components below will be moved up. |
Nice one! I feel like it would be awesome, if you re-align the components at the moment, where the preview morph snaps below a component or leaves this position. Then you have a better preview what will happen when you drop the morph. The preview morph will always create enough space for the component to fit in there, since it uses the same algorithm, so you don't have to re-align when you actually drop the morph. |
Yes this sounds nice, I'll change that in a minute. |
Nice! |
Both suggestions are now implemented as well, feels very good. |
Wow this developed into serious coding nightmare. I've nearly worked all day on this, several rewrites from scratch later (because it got too complicated) there now is a nicely working version :)
Only thing left is to be able to move fan-components, I'll implement that later as there are some additional missing parts for that, that weren't implemented when we rewrote the fan components. |
If you position a component over another one, align the new component below the other component. Then you have to align the other compontents (below new component), too.
The text was updated successfully, but these errors were encountered: