🎥 Make videos programmatically with React
Remove uneven dimension warnings from composition dialogs
Jonny Burgereb18d7b891c6
diff --git a/packages/studio/src/helpers/validate-new-comp-data.ts b/packages/studio/src/helpers/validate-new-comp-data.tsindex 86d76956c9..22629c34b5 100644--- a/packages/studio/src/helpers/validate-new-comp-data.ts+++ b/packages/studio/src/helpers/validate-new-comp-data.ts@@ -20,10 +20,6 @@ export const validateCompositionDimension = (dimension: 'Width' | 'Height',value: number,): string | null => {- if (Number(value) % 2 !== 0) {- return `${dimension} should be divisible by 2, since H264 codec doesn't support odd dimensions.`;- }-if (Number.isNaN(Number(value))) {return 'Invalid number.';}