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

Pan & zoom stops working if the DOT source is cleared and new DOT source is entered #135

Open
magjac opened this issue Mar 17, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@magjac
Copy link
Owner

magjac commented Mar 17, 2020

No description provided.

@magjac magjac self-assigned this Mar 17, 2020
@magjac magjac added the bug Something isn't working label Mar 17, 2020
magjac added a commit that referenced this issue Mar 17, 2020
Fixes #135.

The zoom functionality stores the original "graph0" <g> element and
applies zoom transforms to it, but that elements was removed when the
DOT source was cleared.

Instead of removing the whole svg, now only the graph elements below
the "graph0" <g> element are removed.
magjac added a commit that referenced this issue Apr 10, 2020
Fixes #135.

The zoom functionality stores the original "graph0" <g> element and
applies zoom transforms to it, but that elements was removed when the
DOT source was cleared.

Instead of removing the whole svg, now only the graph elements below
the "graph0" <g> element are removed.
@neural-loop
Copy link

This caused a bit of confusion the first time I tried to use the app. I was trying to also use the middle mouse click to pan, which was creating new items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants