mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Remove confusing track / group members in TimeSelection struct; time selection
applies to the selected tracks. Some tinkering with how tracks are selected during time selections. git-svn-id: svn://localhost/ardour2/branches/3.0@6360 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3db46ba30f
commit
04c7158a41
11 changed files with 42 additions and 92 deletions
|
|
@ -331,13 +331,11 @@ Editor::mouse_mode_toggled (MouseMode m)
|
|||
} else {
|
||||
|
||||
/*
|
||||
in range mode,show the range selection.
|
||||
in range mode, show the range selection.
|
||||
*/
|
||||
|
||||
for (TrackSelection::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) {
|
||||
if ((*i)->get_selected()) {
|
||||
(*i)->show_selection (selection->time);
|
||||
}
|
||||
(*i)->show_selection (selection->time);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -483,11 +481,9 @@ Editor::button_selection (ArdourCanvas::Item* /*item*/, GdkEvent* event, ItemTyp
|
|||
break;
|
||||
|
||||
case StreamItem:
|
||||
/* for context click or range selection, select track */
|
||||
/* for context click, select track */
|
||||
if (event->button.button == 3) {
|
||||
set_selected_track_as_side_effect ();
|
||||
} else if (event->type == GDK_BUTTON_PRESS && mouse_mode == MouseRange) {
|
||||
set_selected_track_as_side_effect ();
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue