From 54740c348b3e83e06327ceac2090155dcd1641e3 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 12 Jul 2015 12:26:16 -0400 Subject: [PATCH] Remove an unreachable piece of scrubbing code --- src/TrackPanel.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 2bb5a6653..bb4d13293 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -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;