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

fix(graphics-factory): do not prepend to self #385

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

philippfromme
Copy link
Contributor

@philippfromme philippfromme commented Jul 16, 2019

  • always update
  • do not prepend to self

Closes bpmn-io/bpmn-js#1129
Related to bpmn-io/bpmn-js#746

@philippfromme philippfromme requested a review from nikku July 16, 2019 14:19
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Jul 16, 2019
@philippfromme philippfromme force-pushed the 1129-fix-graphics-factory branch 2 times, most recently from 2b6ed0f to 08da15a Compare July 17, 2019 10:22
@philippfromme philippfromme changed the title fix(graphics-factory): replace instead of prepend if same node fix(graphics-factory): do not prepend to self Jul 17, 2019
*/
export function getChildren(gfx) {
return gfx.parentNode.childNodes[1];
return domQuery('.djs-children', gfx.parentNode);
Copy link
Member

Choose a reason for hiding this comment

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

What is this good for? Is it part of the fix?

If not, can we undo this change?

@merge-me merge-me bot merged commit bab7b80 into develop Jul 18, 2019
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jul 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the 1129-fix-graphics-factory branch July 18, 2019 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Element Behind Parent
2 participants