13
0

no need to compute x-axis coordinate when adding an automation event

This commit is contained in:
Paul Davis 2021-01-19 13:04:34 -07:00
parent 7cf435a876
commit 7a536524db

View File

@ -783,7 +783,7 @@ AutomationTimeAxisView::add_automation_event (GdkEvent* event, samplepos_t sampl
/* compute vertical fractional position */
y = 1.0 - (y / _line->height());
/* map using line */
_line->view_to_model_coord (x, y);
_line->view_to_model_coord_y (y);
}
XMLNode& before = list->get_state();