13
0

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:
Ben Loftis 2021-11-23 13:13:25 -06:00
parent 5212fc9677
commit c27bfde045

View File

@ -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> (