13
0

required fix for cairocanvas branch, didn't make it into merge

This commit is contained in:
Paul Davis 2014-02-19 13:57:27 -05:00
parent 5cf4a32da9
commit a13511e901

View File

@ -3331,7 +3331,7 @@ LineDrag::finished (GdkEvent* event, bool movement_occured)
_line->end_drag (false, 0);
if ((atv = dynamic_cast<AutomationTimeAxisView*>(_editor->clicked_axisview)) != 0) {
framepos_t where = _editor->event_frame (event, 0, 0);
framepos_t where = _editor->window_event_frame (event, 0, 0);
atv->add_automation_event (event, where, event->button.y, false);
}
}