mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
A test for less brutall deselection on mouse mode change.
Mostly stops toggling smart mode from doing anything to the selection.
This commit is contained in:
parent
e1f8112f81
commit
44f2f53cde
1 changed files with 7 additions and 5 deletions
|
|
@ -342,14 +342,16 @@ Editor::update_time_selection_display ()
|
||||||
selection->ClearMidiNoteSelection (); /* EMIT SIGNAL */
|
selection->ClearMidiNoteSelection (); /* EMIT SIGNAL */
|
||||||
break;
|
break;
|
||||||
case MouseDraw:
|
case MouseDraw:
|
||||||
/* Clear top level objects, but not time or tracks, since that
|
/* Clear regions, but not time or tracks, since that
|
||||||
woulddestroy the range selection rectangle, which we need to stick
|
would destroy the range selection rectangle, which we need to stick
|
||||||
around for AutomationRangeDrag. */
|
around for AutomationRangeDrag. */
|
||||||
selection->clear_objects ();
|
selection->clear_regions ();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Clear everything. */
|
/* This handles internal edit.
|
||||||
selection->clear_objects ();
|
Clear everything except points and notes.
|
||||||
|
*/
|
||||||
|
selection->clear_regions();
|
||||||
selection->clear_time ();
|
selection->clear_time ();
|
||||||
selection->clear_tracks ();
|
selection->clear_tracks ();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue