Add region position to note start in the midi list editor
This commit is contained in:
committed by
Paul Davis
parent
8098c7785f
commit
651fb79818
@@ -764,7 +764,7 @@ MidiListEditor::redisplay_model ()
|
||||
row[columns.note] = (*i)->note();
|
||||
row[columns.velocity] = (*i)->velocity();
|
||||
|
||||
Timecode::BBT_Time bbt (_session->tempo_map().bbt_at_frame (conv.to ((*i)->time())));
|
||||
Timecode::BBT_Time bbt (_session->tempo_map().bbt_at_frame (region->position() + conv.to ((*i)->time())));
|
||||
|
||||
ss.str ("");
|
||||
ss << bbt;
|
||||
|
||||
Reference in New Issue
Block a user