Fix adding section markers with ctrl+click

This commit is contained in:
Robin Gareus 2024-05-29 23:56:35 +02:00
parent 69d63bac92
commit e7d4f10e0d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1800,7 +1800,7 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
case SectionMarkerBarItem:
if (!_dragging_playhead && Keyboard::modifier_state_equals (event->button.state, Keyboard::PrimaryModifier)) {
snap_to_with_modifier (where, event, Temporal::RoundNearest, SnapToGrid_Scaled);
add_location_mark (where, Location::IsSection);
add_location_mark (where, Location::Flags (Location::IsMark | Location::IsSection));
}
return true;