Skip to content

Sankey: properly set coordinates of node's origin prior to drag operation - #3564

Merged
antoinerg merged 2 commits into
masterfrom
sankey2-fix-drag-origin
Feb 21, 2019
Merged

antoinerg merged 2 commits into
masterfrom
sankey2-fix-drag-origin

Conversation

@antoinerg

Copy link
Copy Markdown
Contributor

Fixes #3563

@alexcjohnson

Copy link
Copy Markdown
Collaborator

Yep, that fixes it for me! Can we 🔒 it with a test?

@antoinerg

antoinerg commented Feb 21, 2019 •

Copy link
Copy Markdown
Contributor Author

I added a new test in 1f73366 for drag interactions. The test fails without the fix introduced in 08e5a50!

Thank you @alexcjohnson for catching this 🪲 !

@antoinerg antoinerg added bug something broken status: reviewable labels Feb 21, 2019
@antoinerg antoinerg added this to the v1.45.0 milestone Feb 21, 2019
});
});

describe('Test drag interactions:', function() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow! Fantastic test! Thanks!

@etpinard

Copy link
Copy Markdown
Contributor

Nicely done 💃

@antoinerg
antoinerg merged commit 3fc50cc into master Feb 21, 2019
@antoinerg
antoinerg deleted the sankey2-fix-drag-origin branch February 21, 2019 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants