mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
New behaviour for shift when moving mouse reinstated.
This addition was lost by me in a change I made to Paul's code.
This commit is contained in:
parent
798f2bb938
commit
e9ba00ff6d
@ -1709,10 +1709,12 @@ void TrackPanel::SetCursorAndTipWhenSelectTool( Track * t,
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
// Not shift-down, not snapping center,
|
||||
|
||||
// If not shift-down and not snapping center, then
|
||||
// choose boundaries only in snapping tolerance,
|
||||
// may choose center
|
||||
SelectionBoundary boundary = ChooseBoundary(event, t, r, true, true);
|
||||
// and may choose center
|
||||
SelectionBoundary boundary = ChooseBoundary(event, t, r, !bShiftDown, !bShiftDown);
|
||||
|
||||
#ifdef USE_MIDI
|
||||
// The MIDI HitTest will only succeed if we are on a midi track, so
|
||||
// typically we will fall through.
|
||||
@ -1734,6 +1736,7 @@ void TrackPanel::SetCursorAndTipWhenSelectTool( Track * t,
|
||||
switch (boundary) {
|
||||
case SBNone:
|
||||
if( bShiftDown ){
|
||||
// wxASSERT( false );
|
||||
// Same message is used for moving left right top or bottom edge.
|
||||
*ppTip = _("Click to move selection boundary to cursor.");
|
||||
// No cursor change.
|
||||
|
Loading…
x
Reference in New Issue
Block a user