1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-08 08:01:19 +02:00

EXPERIMENTAL_MIDI_OUT off -- then no invisible channel buttons...

... They were still clickable before this commit.
This commit is contained in:
Paul Licameli 2017-06-06 21:47:13 -04:00
parent 191eeaf19e
commit 8d517bd3bd

View File

@ -5253,9 +5253,11 @@ const TCPLine waveTrackTCPLines[] = {
const TCPLine noteTrackTCPLines[] = {
COMMON_ITEMS(0)
#ifdef EXPERIMENTAL_MIDI_OUT
MUTE_SOLO_ITEMS(0)
{ kItemMidiControlsRect, kMidiCellHeight * 4, 0 },
{ kItemVelocity, kTrackInfoSliderHeight, 5 },
#endif
{ 0, 0, 0 }
};
@ -5375,7 +5377,6 @@ void TrackPanel::HandleLabelClick(wxMouseEvent & event)
if (isleft && VelocityFunc(t, rect, event, event.m_x, event.m_y))
return;
#endif
wxRect midiRect;
mTrackInfo.GetMidiControlsRect(rect, midiRect);
@ -5388,6 +5389,7 @@ void TrackPanel::HandleLabelClick(wxMouseEvent & event)
Refresh(false);
return;
}
#endif
}
#endif // USE_MIDI