refactor(z-level): implement new stacking logic

This commit is contained in:
moklick
2021-11-09 12:11:47 +01:00
parent df25cb32f0
commit 050bb3130f
5 changed files with 58 additions and 53 deletions
+2 -2
View File
@@ -106,8 +106,8 @@ const NodeRenderer = (props: NodeRendererProps) => {
isConnectable={isConnectable}
resizeObserver={resizeObserver}
dragHandle={node.dragHandle}
zIndex={internals?.treeLevel || 0}
isParentNode={!!internals?.isParentNode}
zIndex={internals?.z || 0}
isParent={!!internals?.isParent}
/>
);
})}