mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Tempo ramps - fix incorrect verbose cursor during tempo drag.
This commit is contained in:
parent
f974f40611
commit
6b7dd59b7a
1 changed files with 2 additions and 1 deletions
|
|
@ -3349,6 +3349,7 @@ TempoMarkerDrag::motion (GdkEvent* event, bool first_move)
|
|||
|
||||
Timecode::BBT_Time when;
|
||||
_editor->session()->tempo_map().bbt_time (pf, when);
|
||||
|
||||
if (_real_section->position_lock_style() == MusicTime) {
|
||||
if (use_snap && _editor->snap_type() == SnapToBar) {
|
||||
_editor->session()->tempo_map().round_bbt (when, -1);
|
||||
|
|
@ -3368,7 +3369,7 @@ TempoMarkerDrag::motion (GdkEvent* event, bool first_move)
|
|||
}
|
||||
}
|
||||
|
||||
show_verbose_cursor_time (pf);
|
||||
show_verbose_cursor_time (_real_section->frame());
|
||||
}
|
||||
_marker->set_position (pf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue