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

Selecting non-rectangular elements #156

Closed
roonie007 opened this issue Jan 22, 2022 Discussed in #155 · 2 comments
Closed

Selecting non-rectangular elements #156

roonie007 opened this issue Jan 22, 2022 Discussed in #155 · 2 comments
Labels
wontfix This will not be worked on

Comments

@roonie007
Copy link

Discussed in #155

Originally posted by roonie007 January 22, 2022
How can I select this SVG element only when the mouse is over the line

image

What is actually happening, is when ever the mouse enter the SVG RectBound element even on the transparent area the item is selected (check the picture below):

image

What I am looking for is, how to trigger the selection only when the mouse is over the line ?
Thanks

@roonie007
Copy link
Author

@simonwep Any help on this ?

@simonwep simonwep changed the title Svg selection with transparent area SVG selection with transparent area May 19, 2022
@simonwep simonwep added the question Further information is requested label Jul 15, 2022
@simonwep simonwep changed the title SVG selection with transparent area Selecting non-rectangular elements Aug 5, 2022
@simonwep simonwep added help wanted Extra attention is needed feature request New feature requested and removed question Further information is requested labels Aug 5, 2022
@simonwep simonwep added wontfix This will not be worked on and removed help wanted Extra attention is needed feature request New feature requested labels Jul 30, 2023
@simonwep
Copy link
Owner

This is out-of-scope for this library, I can only suggest you to implement a fraction of this library where you can draw a shape of your choice... :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants