Consistently use Mark (not Range) for Arrangement markers

Otherwise changing the marker type will cause inconsistently
rendered marks
This commit is contained in:
Robin Gareus 2023-08-29 17:00:24 +02:00
parent a14f216f3e
commit 24ae92ce1e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -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());