mirror of https://github.com/langgenius/dify.git
fix: mouse scrolling zooming can not function anymore (#19160)
This commit is contained in:
parent
f8e5341ac0
commit
6c9a9d344a
|
|
@ -316,7 +316,7 @@ export const Workflow: FC<WorkflowProps> = memo(({
|
|||
nodesConnectable={!nodesReadOnly}
|
||||
nodesFocusable={!nodesReadOnly}
|
||||
edgesFocusable={!nodesReadOnly}
|
||||
panOnScroll
|
||||
panOnScroll={false}
|
||||
panOnDrag={controlMode === ControlMode.Hand && !workflowReadOnly}
|
||||
zoomOnPinch={!workflowReadOnly}
|
||||
zoomOnScroll={!workflowReadOnly}
|
||||
|
|
|
|||
Loading…
Reference in New Issue