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

only raise() on currently dragged element #6

Open
BlastWind opened this issue Mar 9, 2021 · 0 comments
Open

only raise() on currently dragged element #6

BlastWind opened this issue Mar 9, 2021 · 0 comments

Comments

@BlastWind
Copy link
Owner

So for text nodes, this will place it over all other text nodes (and already, over all other circle nodes)
For circle nodes, temporarily raise just currently dragged node above all other text nodes and circle nodes (set current node to invisible, append temporary svg at the root level, insert node there, on drag end, remove temporary svg, set current node to visible)

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