Commit Graph
14 Commits
Author SHA1 Message Date
moklick ebd5a5f0a0 fix(pos-updates): multi selection drag 2021-12-02 22:24:34 +01:00
Michal SrbandGitHub c1b9275083 Fix bug in updateNodePosDiff action
This is the intended logic. Without it triggering this action with a node id will always move selected nodes, which is not desirable if we want to move just an unselected node.

The bug doesn't show up in current examples because at the moment either one selected node is moved or all the selected nodes are moved. TBH this should probably be changed to accept `ids` instead to handle the two cases instead of this tight coupling between the group selection code and this action.
2021-11-29 08:38:49 +01:00
moklick 41db69e06c fix(nodes): dont select nodes when selectable=false closes #1324 2021-07-20 17:59:04 +02:00
moklick c63992e3ff Revert "Merge pull request #1003 from TheUnderScorer/main"
This reverts commit 106f1f0b61, reversing
changes made to 9206e65522.
2021-03-29 13:26:31 +02:00
Przemysław Żydek 96290483b1 feat(components): Support passing shadow root as document 2021-03-22 11:34:47 +01:00
moklick ebbc192b8d fix(node-update): force update when source or target pos changes 2021-02-23 19:27:45 +01:00
moklick 4c76fc5ae3 refactor(reducer): handle unset nodes selection action 2021-02-15 18:21:57 +01:00
moklick 5aa78cf2fc refactor(reducer): only iterate incoming elements once 2021-02-14 14:52:39 +01:00
moklick 1d1a17c80a refactor(actions): combine batch update and update node dimension actions 2021-02-11 19:14:30 +01:00
moklick ba5286a105 refactor(elements): split edges and nodes 2021-02-11 18:45:05 +01:00
moklick 201a35dec2 Merge branch 'main' into refactor/redux 2021-02-11 17:52:54 +01:00
moklick 835d539108 refactor(actions): use createAction util function 2021-01-28 16:33:53 +01:00
moklick 23c2c49e52 refactor(types): rename ActionTypes to ReactFlowActionTypes 2021-01-28 12:45:32 +01:00
moklick 4d382eed57 refactor(store): clean up 2021-01-28 12:33:34 +01:00