🎥 Make videos programmatically with React
video option disabled if still
Patric Salvisberg3691241a7c21
diff --git a/packages/cli/src/editor/components/RenderModal/RenderModal.tsx b/packages/cli/src/editor/components/RenderModal/RenderModal.tsxindex 8fd0587f35..1cd100cc6a 100644--- a/packages/cli/src/editor/components/RenderModal/RenderModal.tsx+++ b/packages/cli/src/editor/components/RenderModal/RenderModal.tsx@@ -409,6 +409,20 @@ export const RenderModal: React.FC<{}, [setCodec, videoCodec]);const renderTabOptions = useMemo((): SegmentedControlItem[] => {+ if (initialRenderType === 'still') {+ return [+ {+ label: 'Still',+ onClick: () => {+ setRenderMode('still');+ setStillFormat(imageFormat);+ },+ key: 'still',+ selected: renderMode === 'still',+ },+ ];+ }+return [{label: 'Still',