use configurable thinning factor, not a hard-coded constant

This commit is contained in:
Paul Davis 2023-07-10 13:42:06 -06:00
parent 67d9fa885a
commit 57167dafbe

View file

@ -834,7 +834,7 @@ AutomationTimeAxisView::merge_drawn_line (Evoral::ControlList::OrderedPoints& po
list->freeze (); list->freeze ();
list->editor_add_ordered (points, false); list->editor_add_ordered (points, false);
if (thin) { if (thin) {
list->thin (50.0); list->thin (Config->get_automation_thinning_factor());
} }
list->thaw (); list->thaw ();