From f2c6d8ff0f86df9f55c0ff4f09a54f27ab80f8f3 Mon Sep 17 00:00:00 2001 From: Idris Gadi Date: Tue, 27 Jan 2026 11:10:12 +0530 Subject: [PATCH] fix: set motion blur to disabled by default --- src/components/video-editor/SettingsPanel.tsx | 2 +- src/components/video-editor/VideoEditor.tsx | 2 +- src/components/video-editor/VideoPlayback.tsx | 2 +- src/components/video-editor/videoPlayback/zoomTransform.ts | 2 +- src/lib/exporter/frameRenderer.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index f53afd8..db5e9d8 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -116,7 +116,7 @@ export function SettingsPanel({ onShadowChange, showBlur, onBlurChange, - motionBlurEnabled = true, + motionBlurEnabled = false, onMotionBlurChange, borderRadius = 0, onBorderRadiusChange, diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsx index 4e1f8c4..4e431ae 100644 --- a/src/components/video-editor/VideoEditor.tsx +++ b/src/components/video-editor/VideoEditor.tsx @@ -45,7 +45,7 @@ export default function VideoEditor() { const [wallpaper, setWallpaper] = useState(WALLPAPER_PATHS[0]); const [shadowIntensity, setShadowIntensity] = useState(0); const [showBlur, setShowBlur] = useState(false); - const [motionBlurEnabled, setMotionBlurEnabled] = useState(true); + const [motionBlurEnabled, setMotionBlurEnabled] = useState(false); const [borderRadius, setBorderRadius] = useState(0); const [padding, setPadding] = useState(50); const [cropRegion, setCropRegion] = useState(DEFAULT_CROP_REGION); diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsx index 357adc9..4dc491e 100644 --- a/src/components/video-editor/VideoPlayback.tsx +++ b/src/components/video-editor/VideoPlayback.tsx @@ -69,7 +69,7 @@ const VideoPlayback = forwardRef(({ showShadow, shadowIntensity = 0, showBlur, - motionBlurEnabled = true, + motionBlurEnabled = false, borderRadius = 0, padding = 50, cropRegion, diff --git a/src/components/video-editor/videoPlayback/zoomTransform.ts b/src/components/video-editor/videoPlayback/zoomTransform.ts index 1e50545..1f6618f 100644 --- a/src/components/video-editor/videoPlayback/zoomTransform.ts +++ b/src/components/video-editor/videoPlayback/zoomTransform.ts @@ -23,7 +23,7 @@ export function applyZoomTransform({ focusY, motionIntensity, isPlaying, - motionBlurEnabled = true, + motionBlurEnabled = false, }: TransformParams) { if ( stageSize.width <= 0 || diff --git a/src/lib/exporter/frameRenderer.ts b/src/lib/exporter/frameRenderer.ts index 6027a32..5a5ceec 100644 --- a/src/lib/exporter/frameRenderer.ts +++ b/src/lib/exporter/frameRenderer.ts @@ -293,7 +293,7 @@ export class FrameRenderer { focusY: this.animationState.focusY, motionIntensity: maxMotionIntensity, isPlaying: true, - motionBlurEnabled: this.config.motionBlurEnabled ?? true, + motionBlurEnabled: this.config.motionBlurEnabled ?? false, }); // Render the PixiJS stage to its canvas (video only, transparent background)