[FR] MidiKeyboardComponent::setBlackNoteWidthProportion()


In MidiKeyboardComponent::getKeyPosition() you use the value 0.7f

static const float blackNoteWidth = 0.7f;

I’ve override the method just to change the value to 0.6f… it would be useful to have a method to change the value without having to copy the whole base method just to change the blackNoteWidth factor (similar to MidiKeyboardComponent ::setBlackNoteLengthProportion()).




Sure, I’ll add that.


Thanks Ed!