1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 07:59:27 +02:00

Compilable again without USE_MIDI

This commit is contained in:
Paul Licameli 2017-06-14 21:14:51 -04:00
parent 7641d0886b
commit fc2a371286

View File

@ -1814,6 +1814,7 @@ void TrackPanel::HandleSelect(wxMouseEvent & event)
mSelectionStateChanger.reset();
}
#ifdef USE_MIDI
bool left;
if ( GetProject()->IsSyncLocked() &&
( ( left = mStretchState.mMode == stretchLeft ) ||
@ -1847,7 +1848,9 @@ void TrackPanel::HandleSelect(wxMouseEvent & event)
Refresh(false);
SetCapturedTrack( NULL );
}
else {
else
#endif
{
// Do not draw yellow lines
if (mSnapLeft != -1 || mSnapRight != -1) {
mSnapLeft = mSnapRight = -1;