Increase black key length
authorRobin Gareus <robin@gareus.org>
Sat, 19 Oct 2019 13:42:35 +0000 (15:42 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 20 Oct 2019 00:44:16 +0000 (02:44 +0200)
gtk2_ardour/gtk_pianokeyboard.c

index 513dd17d43f7a61e53f2ce5f56cdd962574e0548..07643aef2984fe4469e84ee7fb225b96c7eb3a6b 100644 (file)
@@ -596,7 +596,7 @@ recompute_dimensions(PianoKeyboard *pk)
                        /* This note is black key. */
                        pk->notes[note].x = pk->widget_margin + white_key * key_width - black_key_width / 2;
                        pk->notes[note].w = black_key_width;
-                       pk->notes[note].h = height / 2;
+                       pk->notes[note].h = height * .6;
                        pk->notes[note].white = 0;
 
                        continue;