mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
Feat: The delete button is displayed only when the cursor is hovered over the connection line #3221 (#8422)
### What problem does this PR solve? Feat: The delete button is displayed only when the cursor is hovered over the connection line #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -90,6 +90,8 @@ const selector = (state: RFState) => ({
|
||||
onConnect: state.onConnect,
|
||||
setNodes: state.setNodes,
|
||||
onSelectionChange: state.onSelectionChange,
|
||||
onEdgeMouseEnter: state.onEdgeMouseEnter,
|
||||
onEdgeMouseLeave: state.onEdgeMouseLeave,
|
||||
});
|
||||
|
||||
export const useSelectCanvasData = () => {
|
||||
|
||||
Reference in New Issue
Block a user