mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +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();
|
mSelectionStateChanger.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_MIDI
|
||||||
bool left;
|
bool left;
|
||||||
if ( GetProject()->IsSyncLocked() &&
|
if ( GetProject()->IsSyncLocked() &&
|
||||||
( ( left = mStretchState.mMode == stretchLeft ) ||
|
( ( left = mStretchState.mMode == stretchLeft ) ||
|
||||||
@ -1847,7 +1848,9 @@ void TrackPanel::HandleSelect(wxMouseEvent & event)
|
|||||||
Refresh(false);
|
Refresh(false);
|
||||||
SetCapturedTrack( NULL );
|
SetCapturedTrack( NULL );
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
#endif
|
||||||
|
{
|
||||||
// Do not draw yellow lines
|
// Do not draw yellow lines
|
||||||
if (mSnapLeft != -1 || mSnapRight != -1) {
|
if (mSnapLeft != -1 || mSnapRight != -1) {
|
||||||
mSnapLeft = mSnapRight = -1;
|
mSnapLeft = mSnapRight = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user