feat(stacking): simplify zIndex and treeLevel behaviour

This commit is contained in:
Christopher Möller
2021-11-04 12:42:14 +01:00
parent 79e46d90ad
commit 1b390e103d
6 changed files with 24 additions and 27 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ function Node({
isConnectable={isConnectable}
resizeObserver={resizeObserver}
dragHandle={node.dragHandle}
zIndex={6 + treeLevel}
zIndex={treeLevel}
isParentNode={isParentNode}
/>
);