Update App.tsx to use store.executeCommand for animationAutoplay

This commit is contained in:
2026-04-01 00:14:42 +02:00
parent 22e198347c
commit 530bfd4820

View File

@@ -3579,7 +3579,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
type="checkbox"
checked={selectedModelInstance.animationAutoplay ?? false}
onChange={(e) => {
store.dispatch(
store.executeCommand(
createUpsertModelInstanceCommand({
modelInstance: { ...selectedModelInstance, animationAutoplay: e.target.checked },
label: "Set animation autoplay"