Add preferred control target key to ProjectSchedulePane

This commit is contained in:
2026-04-15 07:30:56 +02:00
parent ad9d785b1b
commit 4006c11885

View File

@@ -662,6 +662,12 @@ export function ProjectSequencerPane({
teleportTargetOptions={teleportTargetOptions}
sceneTransitionTargetOptions={sceneTransitionTargetOptions}
visibilityTargetOptions={visibilityTargetOptions}
preferredControlTargetKey={
selectedRoutine?.sequenceId === selectedSequenceId &&
selectedRoutine.target.kind !== "global"
? getControlTargetRefKey(selectedRoutine.target)
: null
}
selectedSequenceId={selectedSequenceId}
onSelectSequence={onSelectSequence}
onAddSequence={onAddSequence}