Add scene transition options and handlers to ProjectSequencesPanel

This commit is contained in:
2026-04-15 03:49:49 +02:00
parent 5276d994bb
commit 6ab057566d

View File

@@ -50,6 +50,12 @@ describe("ProjectSequencesPanel", () => {
{ entityId: "teleport-a", label: "North Gate" }, { entityId: "teleport-a", label: "North Gate" },
{ entityId: "teleport-b", label: "South Gate" } { entityId: "teleport-b", label: "South Gate" }
]} ]}
sceneTransitionTargetOptions={[
{
targetKey: "scene-house::entry-front",
label: "House · Front Entry"
}
]}
visibilityTargetOptions={[ visibilityTargetOptions={[
{ targetKey: "brush:brush-a", label: "Wall A" }, { targetKey: "brush:brush-a", label: "Wall A" },
{ targetKey: "brush:brush-b", label: "Wall B" } { targetKey: "brush:brush-b", label: "Wall B" }
@@ -67,6 +73,7 @@ describe("ProjectSequencesPanel", () => {
onAddImpulseControlStep={() => {}} onAddImpulseControlStep={() => {}}
onAddDialogueStep={() => {}} onAddDialogueStep={() => {}}
onAddTeleportStep={onAddTeleportStep} onAddTeleportStep={onAddTeleportStep}
onAddSceneTransitionStep={() => {}}
onAddVisibilityStep={onAddVisibilityStep} onAddVisibilityStep={onAddVisibilityStep}
onAddPlayAnimationStep={onAddPlayAnimationStep} onAddPlayAnimationStep={onAddPlayAnimationStep}
onAddStopAnimationStep={onAddStopAnimationStep} onAddStopAnimationStep={onAddStopAnimationStep}
@@ -81,6 +88,7 @@ describe("ProjectSequencesPanel", () => {
onSetControlStepAnimationLoop={() => {}} onSetControlStepAnimationLoop={() => {}}
onSetDialogueStepDialogueId={() => {}} onSetDialogueStepDialogueId={() => {}}
onSetTeleportStepTarget={onSetTeleportStepTarget} onSetTeleportStepTarget={onSetTeleportStepTarget}
onSetSceneTransitionStepTarget={() => {}}
onSetVisibilityStepTarget={onSetVisibilityStepTarget} onSetVisibilityStepTarget={onSetVisibilityStepTarget}
onSetVisibilityStepMode={onSetVisibilityStepMode} onSetVisibilityStepMode={onSetVisibilityStepMode}
/> />