mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 01:21:11 +02:00
Remove an unreachable piece of scrubbing code
This commit is contained in:
parent
08790d2243
commit
54740c348b
@ -3420,12 +3420,7 @@ void TrackPanel::Stretch(int mouseXCoordinate, int trackLeftEdge,
|
||||
void TrackPanel::SelectionHandleDrag(wxMouseEvent & event, Track *clickedTrack)
|
||||
{
|
||||
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
|
||||
if (IsScrubbing()) {
|
||||
// May need a screen update.
|
||||
if (mAutoScrolling)
|
||||
UpdateSelectionDisplay();
|
||||
}
|
||||
else if (mScrubStartPosition >= 0) {
|
||||
if (mScrubStartPosition >= 0) {
|
||||
MaybeStartScrubbing(event);
|
||||
// Do nothing more, don't change selection
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user