13
0

Don't change snap settings when dragging audio-locked meters.

This commit is contained in:
nick_m 2016-05-28 03:16:06 +10:00
parent 1c51cbcc82
commit 062e17a542

View File

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