13
0

use tracks-follow-session-time option

This commit is contained in:
Paul Davis 2023-07-22 07:38:03 -06:00
parent 08683674ce
commit 3367c03353

View File

@ -36,7 +36,9 @@ using std::string;
Stripable::Stripable (Session& s, string const & name, PresentationInfo const & pi)
: SessionObject (s, name)
, Automatable (s, Temporal::TimeDomainProvider ((pi.flags() & PresentationInfo::MidiIndicatingFlags) ? Temporal::BeatTime : Temporal::AudioTime))
, Automatable (s, s.config.get_tracks_follow_session_time() ?
Temporal::TimeDomainProvider ((pi.flags() & PresentationInfo::MidiIndicatingFlags) ? Temporal::BeatTime : Temporal::AudioTime) :
Temporal::TimeDomainProvider (s.time_domain(), s))
, _presentation_info (pi)
, _active_color_picker (0)
{