required fix for cairocanvas branch, didn't make it into merge
This commit is contained in:
parent
5cf4a32da9
commit
a13511e901
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user