CrypticWit f87b042162
feat(nodes): Center pasted nodes at mouse location (#4595)
* Initial commit.  Feature works, but code might need some cleanup

* Cleaned up diff

* Made mousePosition a XYPosition again so its nicely typed

* Fixed yarn issues

* Paste now properly takes node width/height into account when pasting

* feat(ui): use react's types in the `onMouseMove` `reactflow` handler

* feat(ui): use refs to access `reactflow`'s DOM elements

* feat(ui): use a ref to store cursor position in nodes

---------

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2023-09-21 11:16:15 +10:00
..
2023-08-01 07:59:01 -04:00
2023-09-19 14:03:22 -04:00
2023-09-20 10:56:12 -04:00
2023-08-23 23:06:42 +10:00
2023-07-28 09:46:44 -04:00
2023-05-11 11:55:51 +10:00
2023-03-03 00:02:15 -05:00
2023-03-03 00:02:15 -05:00
2023-03-03 00:02:15 -05:00
2023-09-04 19:08:18 +10:00
2023-09-04 19:08:18 +10:00