revert changes to internal z-index handling
This commit is contained in:
@@ -195,7 +195,7 @@ function updateChildNode<NodeType extends NodeBase>(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
``;
|
|
||||||
function calculateZ(node: NodeBase, selectedNodeZ: number) {
|
function calculateZ(node: NodeBase, selectedNodeZ: number) {
|
||||||
return (isNumeric(node.zIndex) ? node.zIndex : 0) + (node.selected ? selectedNodeZ : 0);
|
return (isNumeric(node.zIndex) ? node.zIndex : 0) + (node.selected ? selectedNodeZ : 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user