mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 09:51:30 +03:00
fb52c1a9a2
[Task link](https://www.pivotaltracker.com/story/show/181076594) This PR enables new node position adjustment using the Magnet Alignment algorithm for the following cases: - When creating node with (+) button without nodes selected - When creating node with "Mouse pointer dictated placement." not under the source node - When the node is pushed left due to lack of space - only horizontally The size of the `alignment area` around node is slightly enlarged, so that it's impossible to create a node that is being too close to other nodes. Videos with AC demonstration: https://user-images.githubusercontent.com/6566674/160565491-818b1705-43f8-41ab-abad-047031b2f9e5.mp4 https://user-images.githubusercontent.com/6566674/160565501-d2d4ea85-68c7-4385-9681-701ab86fdd98.mp4 https://user-images.githubusercontent.com/6566674/160565535-9cbeadfe-397b-4cf8-802a-1ec4148a70a2.mp4 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |