diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-24 18:39:46 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-24 18:39:46 -0600 |
commit | 384ded905d7b30ff9c2eabb318d8ddbe8961fdf8 (patch) | |
tree | 77074c1d289b979f0d03379cfe74a90039b76ca7 /gtk2_ardour/editor_drag.cc | |
parent | 4d91637b45644de2923ca6163d6c926dd5fe0e4e (diff) |
debug output
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-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 (); |