joint icon indicating copy to clipboard operation
joint copied to clipboard

dia.ElementView: revert z indices when element won't end embedded

Open kumilingus opened this issue 2 years ago • 0 comments

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.

Screenshots (if appropriate):

kumilingus avatar Aug 22 '22 13:08 kumilingus