Update state when editorState.projectDocument.time changes
This commit is contained in:
@@ -2482,6 +2482,9 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
||||
setProjectTimeNightLightIntensityFactorDraft(
|
||||
String(projectTime.night.lightIntensityFactor)
|
||||
);
|
||||
setProjectTimeNightBackgroundEnvironmentIntensityDraft(
|
||||
String(projectTime.nightBackground.environmentIntensity)
|
||||
);
|
||||
}, [editorState.projectDocument.time]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user