mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Don't change snap settings when dragging audio-locked meters.
This commit is contained in:
parent
1c51cbcc82
commit
062e17a542
1 changed files with 6 additions and 3 deletions
|
|
@ -3184,9 +3184,12 @@ MeterMarkerDrag::motion (GdkEvent* event, bool first_move)
|
|||
, beat, bbt, map.frame_at_bbt (bbt), _real_section->position_lock_style());
|
||||
|
||||
}
|
||||
/* only snap to bars */
|
||||
_editor->set_snap_to (SnapToBar);
|
||||
_editor->set_snap_mode (SnapNormal); }
|
||||
/* only snap to bars. leave snap mode alone for audio locked meters.*/
|
||||
if (_real_section->position_lock_style() != AudioTime) {
|
||||
_editor->set_snap_to (SnapToBar);
|
||||
_editor->set_snap_mode (SnapNormal);
|
||||
}
|
||||
}
|
||||
|
||||
framepos_t pf = adjusted_current_frame (event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue