mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +02:00
Merge: Bug1014: Do not change the cursor for selection adjustment while scrubbing.
This commit is contained in:
commit
7fa49b8cdc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user