joint
joint copied to clipboard
dia.ElementView: revert z indices when element won't end embedded
Description
Clearly and concisely describe your changes in detail.
Motivation and Context
Why is this change required? What problem does it solve? If applicable, describe the new features the solution brings.
The z
indices are unnecessarily increased during the diagram life-time in the embedding mode. This PR reverts the z-indices if the element was not embedded on dragstart
and is not embedded at dragend
.