new Temporal API to allow keeping MIDI notes in position after a map-tempo operation

This commit is contained in:
Paul Davis 2023-08-02 14:10:51 -06:00
parent 30d2d7824e
commit fa225846af
11 changed files with 153 additions and 2 deletions

View file

@ -4882,6 +4882,10 @@ DomainSwapInformation::undo ()
p->set_time_domain (previous);
}
for (auto & tt : time_things) {
tt->swap_domain (previous == AudioTime ? BeatTime : AudioTime, previous);
}
clear ();
}