From fcabb275616d8fcd90f69bd77a5afd46cf23ea27 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 27 Feb 2018 08:55:17 -0600 Subject: Remove some redundant calls to snap_to(). get_preferred_edit_position() already did it. --- gtk2_ardour/editor_keys.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gtk2_ardour/editor_keys.cc') 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 -- cgit v1.2.3