13
0

Snap-to-grid should not invalidate other snap options. This was a leftover behavior from prior iterations of Snap+Grid.

This commit is contained in:
Ben Loftis 2018-02-24 10:53:03 -06:00
parent f64a39a07f
commit 6989e5b11d

View File

@ -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);
}