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