debug output

This commit is contained in:
Paul Davis 2020-03-24 18:55:16 -06:00
parent 384ded905d
commit 777ac65831

View File

@ -4049,7 +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;
cerr << "cursor drag motion event x = " << event->motion.x << " spp " << _editor->get_current_zoom()
<< " would be " << event->motion.x * _editor->get_current_zoom() << " @ " << _editor->canvas_event_sample (event) << " + " << snap_delta (event->button.state) << " = " << where.sample << endl;
_editor->snap_to_with_modifier (where, event);