Skip to content

Fixup SVG Removal Panning #442

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

Merged
merged 2 commits into from
Apr 18, 2016
Merged

Fixup SVG Removal Panning #442

merged 2 commits into from
Apr 18, 2016

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented Apr 18, 2016

Something went goofy in either #415 or #390 - likely a botched/missed conflict.

This resolves the issue (graph_interact.js was refactored and SVG-removal changes were misplaced) and a simple test for panning movement has been added.

mouseEvent('mousedown', start, start);
mouseEvent('mousemove', end, end);

expect(plot.attr('transform')).toBe('translate(250, 280)');
Copy link
Contributor

Choose a reason for hiding this comment

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

yes yes 🎉

@etpinard
Copy link
Contributor

💃 nicely done.

@mdtusz mdtusz merged commit 79f3d89 into master Apr 18, 2016
@mdtusz mdtusz deleted the fixup-graph-interact branch April 18, 2016 21:23
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