Add project sequence list and selected sequence ID state in App.tsx

This commit is contained in:
2026-04-14 23:40:00 +02:00
parent 48a6334a27
commit 8a8f60f3c9

View File

@@ -1906,6 +1906,9 @@ export function App({ store, initialStatusMessage }: AppProps) {
const projectDialogueList = getProjectDialogues(
editorState.projectDocument.dialogues
);
const projectSequenceList = getProjectSequences(
editorState.projectDocument.sequences
);
const selectedInteractionSource = isInteractionSourceEntity(selectedEntity)
? selectedEntity
: null;
@@ -2219,6 +2222,9 @@ export function App({ store, initialStatusMessage }: AppProps) {
const [selectedDialogueId, setSelectedDialogueId] = useState<string | null>(
null
);
const [selectedSequenceId, setSelectedSequenceId] = useState<string | null>(
null
);
const [
worldDawnAmbientIntensityFactorDraft,
setWorldDawnAmbientIntensityFactorDraft