mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
update mixer-strip routing display
This commit is contained in:
parent
884cb35523
commit
ee4e3e7737
3 changed files with 289 additions and 250 deletions
|
|
@ -220,7 +220,7 @@ PluginPinDialog::darea_expose_event (GdkEventExpose* ev)
|
|||
draw_io_pins (cr, y_out, width, pc_out, pc_out_midi, false);
|
||||
|
||||
// draw midi-bypass (behind)
|
||||
if (sources.n_midi() == 0 && pc_in_midi > 0 && pc_out_midi > 0) {
|
||||
if (_pi->has_midi_bypass ()) {
|
||||
double x0 = rint (width / (1. + pc_in)) - .5;
|
||||
double x1 = rint (width / (1. + pc_out)) - .5;
|
||||
draw_connection (cr, x0, x1, y_in, y_out, true, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue