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()).
Cheers,
Rail