mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
enable pan by fingers (#18775)
This commit is contained in:
@ -316,6 +316,7 @@ export const Workflow: FC<WorkflowProps> = memo(({
|
|||||||
nodesConnectable={!nodesReadOnly}
|
nodesConnectable={!nodesReadOnly}
|
||||||
nodesFocusable={!nodesReadOnly}
|
nodesFocusable={!nodesReadOnly}
|
||||||
edgesFocusable={!nodesReadOnly}
|
edgesFocusable={!nodesReadOnly}
|
||||||
|
panOnScroll
|
||||||
panOnDrag={controlMode === ControlMode.Hand && !workflowReadOnly}
|
panOnDrag={controlMode === ControlMode.Hand && !workflowReadOnly}
|
||||||
zoomOnPinch={!workflowReadOnly}
|
zoomOnPinch={!workflowReadOnly}
|
||||||
zoomOnScroll={!workflowReadOnly}
|
zoomOnScroll={!workflowReadOnly}
|
||||||
|
|||||||
Reference in New Issue
Block a user