We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6aeb90f + b584843 commit 456245fCopy full SHA for 456245f
1 file changed
src/utils/ExportCanvas.tsx
@@ -309,6 +309,7 @@ const ExportCanvas = ({show}:{show: boolean}) => {
309
}
310
SetCamera(true);
311
if (animate){
312
+ usePlotStore.setState({animate:false}) // Disable animation if currently active
313
const {keyFrames} = useImageExportStore.getState()
314
const keyFrameList = keyFrames ? Array.from(keyFrames.keys()).sort((a, b) => a - b) : null;
315
async function Animate(){
0 commit comments