diff --git a/src/app/App.tsx b/src/app/App.tsx index f621987c..f5d25d9f 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -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"