summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-24 10:53:03 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-24 10:53:03 -0600
commit6989e5b11d4fb2153fe4c18378dcbd7dc9c8ceae (patch)
tree6bcab66947df760fa895f594ea65fbec9edb240a
parentf64a39a07f27d13891437a7da98b7f59978ab2d1 (diff)
Snap-to-grid should not invalidate other snap options. This was a leftover behavior from prior iterations of Snap+Grid.
-rw-r--r--gtk2_ardour/editor.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 9fda261113..04d6a72ec7 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -2869,11 +2869,6 @@ Editor::snap_to_internal (MusicSample& start, RoundMode direction, SnapPref pref
/* check Grid */
if (UIConfiguration::instance().get_snap_to_grid() && (_grid_type != GridTypeNone)) {
-
- /* if SnapToGrid is selected, the user wants to prioritize the music grid
- * in this case we should reset the best distance, so Grid will prevail */
- dist = max_samplepos;
-
test = snap_to_grid (grid_marks, presnap, direction);
check_best_snap(presnap, test, dist, best);
}