resolved some requested changes

This commit is contained in:
peterkogo
2024-04-10 14:47:49 +02:00
parent db05c3f3f4
commit 835dec25ba
13 changed files with 39 additions and 43 deletions
@@ -74,7 +74,7 @@ export function NodeToolbar({
}
const nodeRect: Rect = getNodesBounds(nodes, { nodeOrigin });
const zIndex: number = Math.max(...nodes.map((node) => (node.internals?.z || 1) + 1));
const zIndex: number = Math.max(...nodes.map((node) => node.internals.z + 1));
const wrapperStyle: CSSProperties = {
position: 'absolute',