1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-28 22:28:44 +02:00

Bug 1484 - (Residual) Shift click on Wave/Label to extend (once again)

It turns out that having fixed the behaviour of Shift-Click on the Track Control Panel, I'd also fixed the behaviour of Shift-Click on the wave.  But then I blew it by over riding the Shift-Click behaviour on wave to use the version that does NOT horizontally extend.  This change comments out the 'bShift' and so gives us the original Shift-Click behaviour on wave, without undoing the other fixes.
This commit is contained in:
James Crook 2016-08-30 09:08:24 +01:00
parent c580009063
commit beeb0c790c

View File

@ -6208,7 +6208,7 @@ bool TrackPanel::HandleTrackLocationMouseEvent(WaveTrack * track, wxRect &rect,
bool bCtrlDown = event.ControlDown(); bool bCtrlDown = event.ControlDown();
bool unsafe = IsUnsafe(); bool unsafe = IsUnsafe();
if( bShift || bCtrlDown ){ if( /*bShift ||*/ bCtrlDown ){
HandleListSelection(track, bShift, bCtrlDown, !unsafe); HandleListSelection(track, bShift, bCtrlDown, !unsafe);
return true; return true;
@ -6284,7 +6284,7 @@ bool TrackPanel::HandleLabelTrackClick(LabelTrack * lTrack, wxRect &rect, wxMous
bool bCtrlDown = event.ControlDown(); bool bCtrlDown = event.ControlDown();
bool unsafe = IsUnsafe(); bool unsafe = IsUnsafe();
if( bShift || bCtrlDown ){ if( /*bShift ||*/ bCtrlDown ){
HandleListSelection(lTrack, bShift, bCtrlDown, !unsafe); HandleListSelection(lTrack, bShift, bCtrlDown, !unsafe);
return true; return true;