From f250d16487ba747be0276ebd15b240ddd07da132 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 8 Jul 2014 16:08:31 -0400 Subject: [PATCH] cut cursor follows grid --- gtk2_ardour/editor_drag.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index fa1a31b6ec..ffc2d78260 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -5465,7 +5465,10 @@ RegionCutDrag::~RegionCutDrag () void RegionCutDrag::motion (GdkEvent*, bool) { - line->set_position (_drags->current_pointer_frame()); + framepos_t where = _drags->current_pointer_frame(); + _editor->snap_to (where); + + line->set_position (where); } void