좌클릭 캔버스 이동 구현
This commit is contained in:
parent
352da06d74
commit
77edd1f986
|
|
@ -794,7 +794,7 @@ export const DataFlowDesigner: React.FC<DataFlowDesignerProps> = ({
|
|||
panOnScroll={false}
|
||||
zoomOnScroll={true}
|
||||
zoomOnPinch={true}
|
||||
panOnDrag={[1, 2]}
|
||||
panOnDrag={true}
|
||||
selectionOnDrag={false}
|
||||
multiSelectionKeyCode={null}
|
||||
selectNodesOnDrag={false}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export const TableNode: React.FC<{ data: TableNodeData }> = ({ data }) => {
|
|||
const { table, onColumnClick, onScrollAreaEnter, onScrollAreaLeave, selectedColumns = [] } = data;
|
||||
|
||||
return (
|
||||
<div className="relative flex min-w-[280px] flex-col overflow-hidden rounded-lg border-2 border-gray-300 bg-white shadow-lg">
|
||||
<div className="relative flex min-w-[280px] cursor-pointer flex-col overflow-hidden rounded-lg border-2 border-gray-300 bg-white shadow-lg transition-all hover:shadow-xl">
|
||||
{/* React Flow Handles - 숨김 처리 */}
|
||||
<Handle type="target" position={Position.Left} id="left" className="!invisible !h-1 !w-1" />
|
||||
<Handle type="source" position={Position.Right} id="right" className="!invisible !h-1 !w-1" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue