Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript

feat(editor): increase silence cutter pad options to 2s

Augustus Otu364377b79f3e
diff --git a/apps/web/src/components/editor/inspector/AutoCutSilenceSection.tsx b/apps/web/src/components/editor/inspector/AutoCutSilenceSection.tsx
index 6605633f..7e792f9f 100644
--- a/apps/web/src/components/editor/inspector/AutoCutSilenceSection.tsx
+++ b/apps/web/src/components/editor/inspector/AutoCutSilenceSection.tsx
@@ -186,7 +186,7 @@ export const AutoCutSilenceSection: React.FC<AutoCutSilenceSectionProps> = ({
</div>
<Slider
min={0}
- max={0.5}
+ max={2}
step={0.05}
value={[settings.paddingBefore]}
onValueChange={(value) =>
@@ -205,7 +205,7 @@ export const AutoCutSilenceSection: React.FC<AutoCutSilenceSectionProps> = ({
</div>
<Slider
min={0}
- max={0.5}
+ max={2}
step={0.05}
value={[settings.paddingAfter]}
onValueChange={(value) =>