mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
fix error in position of notes drawn in percussive mode
This commit is contained in:
parent
603f8a2c6b
commit
bca71d0cc4
1 changed files with 1 additions and 1 deletions
|
|
@ -6948,7 +6948,7 @@ HitCreateDrag::finished (GdkEvent* event, bool had_movement)
|
||||||
|
|
||||||
Beats start;
|
Beats start;
|
||||||
|
|
||||||
if (_midi_view->show_source()) {
|
if (!_midi_view->on_timeline()) {
|
||||||
Beats spos = _midi_view->midi_region()->source_position().beats() + aligned_beats;
|
Beats spos = _midi_view->midi_region()->source_position().beats() + aligned_beats;
|
||||||
start = _midi_view->midi_region ()->absolute_time_to_source_beats (timepos_t (spos));
|
start = _midi_view->midi_region ()->absolute_time_to_source_beats (timepos_t (spos));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue