File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId] Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2458,11 +2458,13 @@ const WorkflowContent = React.memo(() => {
24582458 connectionLineType = { ConnectionLineType . SmoothStep }
24592459 onPaneClick = { onPaneClick }
24602460 onEdgeClick = { onEdgeClick }
2461+ onPaneContextMenu = { ( e ) => e . preventDefault ( ) }
2462+ onNodeContextMenu = { ( e ) => e . preventDefault ( ) }
24612463 onPointerMove = { handleCanvasPointerMove }
24622464 onPointerLeave = { handleCanvasPointerLeave }
24632465 elementsSelectable = { true }
24642466 selectionOnDrag = { true }
2465- panOnDrag = { [ 1 , 2 ] }
2467+ panOnDrag = { [ 0 , 1 ] }
24662468 multiSelectionKeyCode = { [ 'Meta' , 'Control' ] }
24672469 nodesConnectable = { effectivePermissions . canEdit }
24682470 nodesDraggable = { effectivePermissions . canEdit }
You can’t perform that action at this time.
0 commit comments