From 5df0e3d22668dd754e80ced0e57c7eafcfec4eec Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 18 Jul 2022 11:34:50 -0500 Subject: [PATCH] relax the requirement that Cue Markers must be quantized to the grid, when dragging their location * it should be possible to launch an arbitrary (non-quantized) sound 'anytime' on the timeline * this was already possible anyway, by switching the Grid to None --- gtk2_ardour/editor_drag.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index bbfb7d2f9b..5ecb117259 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -4433,9 +4433,8 @@ MarkerDrag::motion (GdkEvent* event, bool) /* now move it */ if (copy_location->is_cue_marker()) { - /* cue marks should always move with snapping */ timepos_t s (copy_location->start() + f_delta); - _editor->snap_to (s, Temporal::RoundNearest, SnapToGrid_Scaled, true); + _editor->snap_to_with_modifier (s, event, RoundNearest, SnapToGrid_Scaled); copy_location->set_start (s, false); } else { copy_location->set_start (copy_location->start() + f_delta, false);