AudioTriggerPropertiesBox: set start/set length ops via clocks removed

These need to use a different API (operating on the region, not directly on the
trigger), or the Trigger API needs revisiting.
This commit is contained in:
Paul Davis
2025-11-30 08:50:56 -07:00
parent cd4bc46bc7
commit 6eec7c6f1b

View File

@@ -312,11 +312,11 @@ AudioTriggerPropertiesBox::beats_changed ()
void
AudioTriggerPropertiesBox::start_clock_changed ()
{
trigger()->set_start(_start_clock.last_when());
/* XXX do something, probably to the region */
}
void
AudioTriggerPropertiesBox::length_clock_changed ()
{
trigger()->set_length(_length_clock.current_duration()); //?
/* XXX do something, probably to the region */
}