13
0

triggerbox: ignore cue-marker cues if told to do so

This commit is contained in:
Paul Davis 2022-01-06 11:23:02 -07:00
parent 85b8816287
commit 44d52133ae

View File

@ -1636,6 +1636,10 @@ Session::first_cue_within (samplepos_t s, samplepos_t e)
return active_cue;
}
if (Config->get_cue_behavior() != FollowCues) {
return -1;
}
CueEventTimeComparator cmp;
CueEvents::iterator si = lower_bound (_cue_events.begin(), _cue_events.end(), s, cmp);