debug output
This commit is contained in:
parent
384ded905d
commit
777ac65831
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user