MIDI Program Changes: prevent patch-changes from moving after every edit by the dialog.
The clock widget shows absolute time but must be converted to+from source time
This commit is contained in:
parent
5212fc9677
commit
c27bfde045
@ -176,7 +176,7 @@ PatchChangeDialog::patch () const
|
||||
Temporal::Beats t = Temporal::Beats();
|
||||
|
||||
if (_region) {
|
||||
t = _region->region_beats_to_source_beats (_time.current_time ().beats());
|
||||
t = _region->absolute_time_to_source_beats (_time.current_time ());
|
||||
}
|
||||
|
||||
return Evoral::PatchChange<Temporal::Beats> (
|
||||
|
Loading…
Reference in New Issue
Block a user