Add preferred control target key to ProjectSchedulePane
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user