midi cue editor: Trigger::current_pos() is relative to the region start, so fix playhead position
This commit is contained in:
parent
ecd3cf8766
commit
bbdc87b6fa
@ -371,7 +371,7 @@ MidiCueEditor::maybe_update ()
|
||||
_playhead_cursor->set_position (0);
|
||||
} else {
|
||||
if (trigger->active ()) {
|
||||
_playhead_cursor->set_position (trigger->current_pos().samples());
|
||||
_playhead_cursor->set_position (trigger->current_pos().samples() + trigger->the_region()->start().samples());
|
||||
} else {
|
||||
_playhead_cursor->set_position (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user