mirror of https://github.com/langgenius/dify.git
pan and zoom during workflow execution (#24254)
This commit is contained in:
parent
a90b60c36f
commit
65b832c46c
|
|
@ -412,10 +412,10 @@ export const Workflow: FC<WorkflowProps> = memo(({
|
||||||
nodesFocusable={!nodesReadOnly}
|
nodesFocusable={!nodesReadOnly}
|
||||||
edgesFocusable={!nodesReadOnly}
|
edgesFocusable={!nodesReadOnly}
|
||||||
panOnScroll={false}
|
panOnScroll={false}
|
||||||
panOnDrag={controlMode === ControlMode.Hand && !workflowReadOnly}
|
panOnDrag={controlMode === ControlMode.Hand}
|
||||||
zoomOnPinch={!workflowReadOnly}
|
zoomOnPinch={true}
|
||||||
zoomOnScroll={!workflowReadOnly}
|
zoomOnScroll={true}
|
||||||
zoomOnDoubleClick={!workflowReadOnly}
|
zoomOnDoubleClick={true}
|
||||||
isValidConnection={isValidConnection}
|
isValidConnection={isValidConnection}
|
||||||
selectionKeyCode={null}
|
selectionKeyCode={null}
|
||||||
selectionMode={SelectionMode.Partial}
|
selectionMode={SelectionMode.Partial}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue