Add project sequence list and selected sequence ID state in App.tsx
This commit is contained in:
@@ -1906,6 +1906,9 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
const projectDialogueList = getProjectDialogues(
|
const projectDialogueList = getProjectDialogues(
|
||||||
editorState.projectDocument.dialogues
|
editorState.projectDocument.dialogues
|
||||||
);
|
);
|
||||||
|
const projectSequenceList = getProjectSequences(
|
||||||
|
editorState.projectDocument.sequences
|
||||||
|
);
|
||||||
const selectedInteractionSource = isInteractionSourceEntity(selectedEntity)
|
const selectedInteractionSource = isInteractionSourceEntity(selectedEntity)
|
||||||
? selectedEntity
|
? selectedEntity
|
||||||
: null;
|
: null;
|
||||||
@@ -2219,6 +2222,9 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
const [selectedDialogueId, setSelectedDialogueId] = useState<string | null>(
|
const [selectedDialogueId, setSelectedDialogueId] = useState<string | null>(
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
const [selectedSequenceId, setSelectedSequenceId] = useState<string | null>(
|
||||||
|
null
|
||||||
|
);
|
||||||
const [
|
const [
|
||||||
worldDawnAmbientIntensityFactorDraft,
|
worldDawnAmbientIntensityFactorDraft,
|
||||||
setWorldDawnAmbientIntensityFactorDraft
|
setWorldDawnAmbientIntensityFactorDraft
|
||||||
|
|||||||
Reference in New Issue
Block a user