mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 08:57:41 +01:00
add new markers only on a double click, not single click
This commit is contained in:
parent
bc8e3c63b7
commit
ca454a008c
1 changed files with 1 additions and 1 deletions
|
|
@ -4428,7 +4428,7 @@ MarkerBarDrag::motion (GdkEvent*, bool /*first_move*/)
|
|||
void
|
||||
MarkerBarDrag::finished (GdkEvent* event, bool movement_occurred)
|
||||
{
|
||||
if (!movement_occurred) {
|
||||
if (!movement_occurred && was_double_click()) {
|
||||
framepos_t where = _drags->current_pointer_frame();
|
||||
_editor->snap_to_with_modifier (where, event);
|
||||
_editor->mouse_add_new_marker (where);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue