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
This commit is contained in:
Ben Loftis 2022-07-18 11:34:50 -05:00
parent 79f8606b2d
commit 5df0e3d226
1 changed files with 1 additions and 2 deletions

View File

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