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

Implemented a new feature: pan/drag in boundaries #73

Open
grafzahl-io opened this issue Jun 28, 2018 · 0 comments
Open

Implemented a new feature: pan/drag in boundaries #73

grafzahl-io opened this issue Jun 28, 2018 · 0 comments

Comments

@grafzahl-io
Copy link

Hi,
I needed a additional feature very fast available on npm, so I forked this project and added it myself.
Thanks for your awesome work - by the way!

My feature will add an option to the plugin and this enables a limitation of dragging and panning. The user can only pan/drag in the viewport of the svg. It is no longer possible to drag the object outside the viewport where the object might get lost.

My fork can be found here https://github.com/grafzahl-io/snap.svg.zpd.

Maybe you want to integrate this feature in the project.

Best regards from Germany!

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

No branches or pull requests

1 participant