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:
parent
191eeaf19e
commit
8d517bd3bd
@ -5253,9 +5253,11 @@ const TCPLine waveTrackTCPLines[] = {
|
|||||||
|
|
||||||
const TCPLine noteTrackTCPLines[] = {
|
const TCPLine noteTrackTCPLines[] = {
|
||||||
COMMON_ITEMS(0)
|
COMMON_ITEMS(0)
|
||||||
|
#ifdef EXPERIMENTAL_MIDI_OUT
|
||||||
MUTE_SOLO_ITEMS(0)
|
MUTE_SOLO_ITEMS(0)
|
||||||
{ kItemMidiControlsRect, kMidiCellHeight * 4, 0 },
|
{ kItemMidiControlsRect, kMidiCellHeight * 4, 0 },
|
||||||
{ kItemVelocity, kTrackInfoSliderHeight, 5 },
|
{ kItemVelocity, kTrackInfoSliderHeight, 5 },
|
||||||
|
#endif
|
||||||
{ 0, 0, 0 }
|
{ 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -5375,7 +5377,6 @@ void TrackPanel::HandleLabelClick(wxMouseEvent & event)
|
|||||||
|
|
||||||
if (isleft && VelocityFunc(t, rect, event, event.m_x, event.m_y))
|
if (isleft && VelocityFunc(t, rect, event, event.m_x, event.m_y))
|
||||||
return;
|
return;
|
||||||
#endif
|
|
||||||
wxRect midiRect;
|
wxRect midiRect;
|
||||||
mTrackInfo.GetMidiControlsRect(rect, midiRect);
|
mTrackInfo.GetMidiControlsRect(rect, midiRect);
|
||||||
|
|
||||||
@ -5388,6 +5389,7 @@ void TrackPanel::HandleLabelClick(wxMouseEvent & event)
|
|||||||
Refresh(false);
|
Refresh(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif // USE_MIDI
|
#endif // USE_MIDI
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user