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

Hierarchical coverage #533

Open
Hareis opened this issue Aug 9, 2024 · 4 comments
Open

Hierarchical coverage #533

Hareis opened this issue Aug 9, 2024 · 4 comments

Comments

@Hareis
Copy link

Hareis commented Aug 9, 2024

I found a problem
I have a block of 0-15s, and then a block of 5-10s, and the small block is on top of the big block, and when I click on the big block, I can't select the small block again

@chrisn
Copy link
Member

chrisn commented Aug 9, 2024

Yes, currently the only way around this is to drag the top-level segment (block) away, so you can click on the other segment.

There could be many overlapped segments though, so I'm not sure what the best thing to do is. Suggestions are very welcome.

@Hareis
Copy link
Author

Hareis commented Aug 10, 2024

Yes, currently the only way around this is to drag the top-level segment (block) away, so you can click on the other segment.

There could be many overlapped segments though, so I'm not sure what the best thing to do is. Suggestions are very welcome.

Maybe can refer to the z-index implementation in css

https://konvajs.org/docs/groups_and_layers/zIndex.html

@chrisn
Copy link
Member

chrisn commented Aug 15, 2024

The left and right marker handles are always at the top of the z-order, so I could make it so that clicking one of these moves the whole segment to the top. This works, but it wouldn't be very obvious to the user. Or maybe repeatedly clicking over overlapped segments moves each one to the top in turn?

@chrisn
Copy link
Member

chrisn commented Aug 15, 2024

Related: #479

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

2 participants