summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2015-01-11 11:46:36 -0600
committerBen Loftis <ben@harrisonconsoles.com>2015-01-11 11:46:36 -0600
commitc7affd79c24a6a633c9b400de9662087d210ac60 (patch)
tree05a4753d511d9f9826685a8214d6227aa3aada9f /gtk2_ardour/editor_ops.cc
parent03f0229bcfc35916f81c6187948df3ea3b79a976 (diff)
remove track-selection requirement so fit_selected_tracks works as coded. change name to fit-selection. remove action to zoom (both axes) because this can trivially be accomplished by clicking (f)it and (z)oom sequentially, and it frees a keybinding. remaining bug: Fitting a selection of MIDI regions doesnt work right
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index ec196874d6..f6064dd72b 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1815,7 +1815,7 @@ Editor::temporal_zoom_selection (bool both_axes)
}
if (both_axes)
- fit_selected_tracks();
+ fit_selection();
}
}
@@ -6918,7 +6918,7 @@ Editor::insert_time (
}
void
-Editor::fit_selected_tracks ()
+Editor::fit_selection ()
{
if (!selection->tracks.empty()) {
fit_tracks (selection->tracks);