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(diagramlink): populate positionFrom and positionTo #2

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

TonyMasse
Copy link
Owner

@TonyMasse TonyMasse commented Dec 9, 2020

with {x:0, y:0} in DiagramModel.addLink(). To prevent error message when new link is created. As the link's curve cannot otherwise be drawn properly (as no x nor y yet defined for positionFrom and positionTo) until the first call to updateLinksPositions().

Close gwenaelp#6

with `{x:0, y:0}` in DiagramModel.addLink(). To prevent error message when new link is created. As the link's curve cannot otherwise be drawn properly (as no `x` nor `y` yet defined for `positionFrom` and `positionTo`) until the first call to `updateLinksPositions()`.

Close gwenaelp#6
@TonyMasse TonyMasse merged commit 88fe53a into development Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant