Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not adjust lane parent to participant #1256

Merged
merged 3 commits into from
Dec 11, 2019
Merged

Do not adjust lane parent to participant #1256

merged 3 commits into from
Dec 11, 2019

Conversation

nikku
Copy link
Member

@nikku nikku commented Dec 11, 2019

Closes #1254
Closes #1253

With diagram-js@5 we've introduced the CreateBehavior that ensures
elements are not created on top of lanes but always on top of the actual
participant.

Unfortunately we forgot about the fact that lanes are created once in a
while, too.

This commit accounts for this fact and ensures we do not adjust the
parent of to-be-created lanes.

(A test cases for splitting nested lanes did not exist until now).

Closes #1254
Closes #1253
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Dec 11, 2019
@nikku nikku requested a review from philippfromme December 11, 2019 09:59
@nikku nikku changed the base branch from develop to master December 11, 2019 09:59
@nikku
Copy link
Member Author

nikku commented Dec 11, 2019

@pinussilvestrus Maybe you can take over reviewing this one?

@philippfromme
Copy link
Contributor

@pinussilvestrus and I agreed that I'll review this PR. 👍

@philippfromme philippfromme removed the request for review from pinussilvestrus December 11, 2019 10:46
Copy link
Contributor

@philippfromme philippfromme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Nice fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants