new_grid: The Return of the snap_to_X functions.
[ardour.git] / gtk2_ardour / midi_region_view.cc
index 1d74dd66a4a606b0bf2f55e54c7f492b3c390671..75cf065e44e00d14a76e307d3881cb5010bbbef3 100644 (file)
@@ -3515,7 +3515,7 @@ MidiRegionView::nudge_notes (bool forward, bool fine)
                        next_pos.sample -= 1;
                }
 
-               trackview.editor().snap_to (next_pos, (forward ? RoundUpAlways : RoundDownAlways), SnapToGrid, false);
+               trackview.editor().snap_to (next_pos, (forward ? RoundUpAlways : RoundDownAlways), SnapToGrid_Unscaled, false);
                const samplecnt_t distance = ref_point - next_pos.sample;
                delta = region_samples_to_region_beats (fabs ((double)distance));
        }