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

Move arrow to front when hovering over arrow #175

Open
fbrckman opened this issue Aug 19, 2019 · 0 comments
Open

Move arrow to front when hovering over arrow #175

fbrckman opened this issue Aug 19, 2019 · 0 comments
Labels
nice to have Not necessary, but would be nice

Comments

@fbrckman
Copy link
Collaborator

fbrckman commented Aug 19, 2019

Note
Simply editing the zIndex will not be sufficient. The relationship( arrow)s are drawn on a separate Konva layer. The zIndex only causes changes in the shape within its own layer, and does not change the order in comparison to shapes of other layers.

If we want to achieve that the arrow is drawn over all other shapes, we would have to create a new layer (on top of all the other layers) and draw the relationship in this new layer while hovering over the arrow.

@fbrckman fbrckman added the nice to have Not necessary, but would be nice label Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice to have Not necessary, but would be nice
Projects
None yet
Development

No branches or pull requests

1 participant