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:
parent
7641d0886b
commit
fc2a371286
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user