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

allow KeyboardComponent's getRectangleForKey method to be overriddn #1082

Closed
wants to merge 2 commits into from
Closed

Conversation

githappens
Copy link

While the keyboard component is quite flexible, it does not allow having non-uniform key width of the same color as the relevant method getRectangleForKey can not be overridden and its related fields are private. Please consider allowing this method to be overridden. Non-uniform key widths of the same colored keys can be used for example to neatly line up rows in a midi editor's grid with each key in the keyboard component.
image

@githappens githappens closed this Nov 25, 2023
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

Successfully merging this pull request may close these issues.

1 participant