Add support for 'startDialogue' step type in ProjectSequencesPanel

This commit is contained in:
2026-04-14 23:47:03 +02:00
parent d8482e6834
commit ac0f8b84f8

View File

@@ -418,6 +418,7 @@ export function ProjectSequencesPanel({
);
}
if (step.type === "startDialogue") {
return (
<div key={`${selectedSequence.id}-${stepIndex}`} className="outliner-item">
<div className="outliner-item__row">
@@ -455,6 +456,30 @@ export function ProjectSequencesPanel({
</label>
</div>
);
}
return (
<div key={`${selectedSequence.id}-${stepIndex}`} className="outliner-item">
<div className="outliner-item__row">
<div className="outliner-item__meta">
{getSequenceStepLabel(step)}
</div>
<button
className="outliner-item__delete"
type="button"
onClick={() => onDeleteStep(selectedSequence.id, stepIndex)}
>
x
</button>
</div>
<div className="material-summary">
This impulse step is preserved, but the current sequence
editor only exposes direct dialogue authoring for authored
project sequences.
</div>
</div>
);
})}
</div>
)}