mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue