diff options
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index bd5e9f73c9..349e101c3d 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -4049,6 +4049,8 @@ CursorDrag::motion (GdkEvent* event, bool) { MusicSample where (_editor->canvas_event_sample (event) + snap_delta (event->button.state), 0); + cerr << "cursor drag motion @ " << _editor->canvas_event_sample (event) << " + " << snap_delta (event->button.state) << " = " << where.sample << endl; + _editor->snap_to_with_modifier (where, event); if (where.sample != last_pointer_sample()) { @@ -4104,6 +4106,7 @@ CursorDrag::finished (GdkEvent* event, bool movement_occurred) Session* s = _editor->session (); if (s) { + cerr << "cursor drag finished, reqL with " << _editor->playhead_cursor->current_sample() << endl; s->request_locate (_editor->playhead_cursor->current_sample (), _was_rolling ? MustRoll : MustStop); _editor->_pending_locate_request = true; s->request_resume_timecode_transmission (); |