Skip to content

Commit 2dcfd6a

Browse files
author
Kharif
committed
keyboard
1 parent 83ffc59 commit 2dcfd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/synth/src/midi_keyboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,6 @@ impl MidiKeyboard {
611611
};
612612
let paint_index = vger.color_paint(color);
613613
let rect = LocalRect::new(LocalPoint::new(x, y), LocalSize::new(width, height));
614-
vger.fill_rect(rect, 2.0, paint_index); // Add rounded corners
614+
vger.fill_rect(rect, 0.1 * width, paint_index); // Add rounded corners
615615
}
616616
}

0 commit comments

Comments
 (0)