feat(renderer): change layer order, allow zoom on nodes and user selection

This commit is contained in:
Christopher Möller
2020-10-06 13:08:38 +02:00
parent 4f757b86b9
commit 0373b53fc2
4 changed files with 28 additions and 6 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ const FlowRenderer = ({
onSelectionContextMenu={onSelectionContextMenu}
/>
)}
<div className="react-flow__zoompane" onClick={onClick} onContextMenu={onContextMenu} onWheel={onWheel} />
<div className="react-flow__pane" onClick={onClick} onContextMenu={onContextMenu} onWheel={onWheel} />
</div>
);
};