diff options
author | nick_m <mainsbridge@gmail.com> | 2016-10-30 23:42:06 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-11 03:37:08 +1100 |
commit | ac23496b40537d97469acdec89f787f056dc3bba (patch) | |
tree | eb41c4cbecc217883cb62424d7267fa9cfc4fe47 /gtk2_ardour/editor_tempodisplay.cc | |
parent | 0e867b544b6d1b5f82f46cec7171998b2f2ca3bc (diff) |
MidiRegion _start/_length beats are frame based only when lock style is Audiotime
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index cd12a4e872..27578e329a 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -362,7 +362,7 @@ Editor::mouse_add_new_tempo_event (framepos_t frame) TempoMap& map(_session->tempo_map()); begin_reversible_command (_("add tempo mark")); - const double pulse = map.pulse_at_frame (frame); + const double pulse = map.exact_qn_at_frame (frame, get_grid_music_divisions (0)) / 4.0; if (pulse > 0.0) { XMLNode &before = map.get_state(); |