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

Rectangular Select #36

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Rectangular Select #36

wants to merge 14 commits into from

Conversation

jessp
Copy link
Collaborator

@jessp jessp commented Jun 30, 2016

Adds a rectangular selection tool that toggles whether a given item is selected when the selection tool is dragged over it. After playing around with the selection tool automatically becoming inactive on mouse-up, I decided interacting felt more natural if the lasso stayed active until the user clicks on the lasso again.

This is accomplished using the svg-intersections library and the kld-affine library, and by exposing each edge's true end points as props to test intersection against.

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.

1 participant