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

Refactor tracks and logic around subtracks #12

Open
christoph-fricke opened this issue Aug 18, 2022 · 0 comments
Open

Refactor tracks and logic around subtracks #12

christoph-fricke opened this issue Aug 18, 2022 · 0 comments
Labels
type: improvement Categorized as a improvement

Comments

@christoph-fricke
Copy link
Member

Currently, everything is contained in the MuttiTrackElement, which makes it harder to test the sub-track logic. Further, moving focus with the keyboard is achieved through event bubbling/mediators and until the element reaches a track that can handle it. Moving the focus could be done in one place if the timeline would store a data-structure of all tracks and their subtracks. However, it would make the tracks less independent.

@christoph-fricke christoph-fricke added the type: improvement Categorized as a improvement label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement Categorized as a improvement
Projects
None yet
Development

No branches or pull requests

1 participant