mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 09:31:13 +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)
|
void TrackPanel::SelectionHandleDrag(wxMouseEvent & event, Track *clickedTrack)
|
||||||
{
|
{
|
||||||
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
|
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
|
||||||
if (IsScrubbing()) {
|
if (mScrubStartPosition >= 0) {
|
||||||
// May need a screen update.
|
|
||||||
if (mAutoScrolling)
|
|
||||||
UpdateSelectionDisplay();
|
|
||||||
}
|
|
||||||
else if (mScrubStartPosition >= 0) {
|
|
||||||
MaybeStartScrubbing(event);
|
MaybeStartScrubbing(event);
|
||||||
// Do nothing more, don't change selection
|
// Do nothing more, don't change selection
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user