From 24ae92ce1efcde386f6063b09e3dcd2aa50819c6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 29 Aug 2023 17:00:24 +0200 Subject: [PATCH] Consistently use Mark (not Range) for Arrangement markers Otherwise changing the marker type will cause inconsistently rendered marks --- gtk2_ardour/editor_markers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 487dfc3aff..cb12c943a1 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -133,7 +133,7 @@ Editor::add_new_location_internal (Location* location) lam->start->set_cue_index(location->cue_id()); group = cue_marker_group; } else if (location->is_section() && ruler_section_action->get_active()) { - lam->start = new ArdourMarker (*this, *section_marker_group, color, location->name(), ArdourMarker::RangeStart, location->start()); + lam->start = new ArdourMarker (*this, *section_marker_group, color, location->name(), ArdourMarker::Mark, location->start()); group = section_marker_group; } else { lam->start = new ArdourMarker (*this, *marker_group, color, location->name(), ArdourMarker::Mark, location->start());