diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-27 08:55:17 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-27 08:55:17 -0600 |
commit | fcabb275616d8fcd90f69bd77a5afd46cf23ea27 (patch) | |
tree | a29d6cbafd85dff61a5adf31df716d0e3ec5bc4b /gtk2_ardour/editor_keys.cc | |
parent | 5d423e38d50a89ddfe966131ff202a3c82fee7c3 (diff) |
Remove some redundant calls to snap_to(). get_preferred_edit_position() already did it.
Diffstat (limited to 'gtk2_ardour/editor_keys.cc')
-rw-r--r-- | gtk2_ardour/editor_keys.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_keys.cc b/gtk2_ardour/editor_keys.cc index 2be9f8d6de..acf7d2a143 100644 --- a/gtk2_ardour/editor_keys.cc +++ b/gtk2_ardour/editor_keys.cc @@ -51,9 +51,6 @@ Editor::keyboard_selection_finish (bool /*add*/, Editing::EditIgnoreOption ign) end = get_preferred_edit_position(ign); } - //snap the selection start/end - snap_to (start); - //if no tracks are selected and we're working from the keyboard, enable all tracks (_something_ has to be selected for any range selection) if ( (_edit_point == EditAtPlayhead) && selection->tracks.empty() ) select_all_tracks(); @@ -80,9 +77,6 @@ Editor::keyboard_selection_begin (Editing::EditIgnoreOption ign) start.sample = get_preferred_edit_position(ign); } - //snap the selection start/end - snap_to(start); - //if there's not already a sensible selection endpoint, go "forever" if (start.sample > end.sample) { #ifdef MIXBUS |