1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-29 14:48:39 +02:00

Bug1014: Do not change the cursor for selection adjustment while scrubbing.

(Cursor may still change to the "forbidden" symbol at a boundary between clips.)
This commit is contained in:
Paul Licameli 2015-06-07 17:05:59 -04:00
parent 39f2ac8c9e
commit e943382953

View File

@ -1950,8 +1950,11 @@ void TrackPanel::SetCursorAndTipWhenSelectTool( Track * t,
// If not shift-down and not snapping center, then // If not shift-down and not snapping center, then
// choose boundaries only in snapping tolerance, // choose boundaries only in snapping tolerance,
// and may choose center // and may choose center.
SelectionBoundary boundary = ChooseBoundary(event, t, r, !bShiftDown, !bShiftDown); // But don't change the cursor when scrubbing.
SelectionBoundary boundary = IsScrubbing()
? SBNone
: ChooseBoundary(event, t, r, !bShiftDown, !bShiftDown);
#ifdef USE_MIDI #ifdef USE_MIDI
// The MIDI HitTest will only succeed if we are on a midi track, so // The MIDI HitTest will only succeed if we are on a midi track, so