fix: set motion blur to disabled by default

This commit is contained in:
Idris Gadi
2026-01-27 11:10:12 +05:30
parent 9821e926d9
commit f2c6d8ff0f
5 changed files with 5 additions and 5 deletions
@@ -116,7 +116,7 @@ export function SettingsPanel({
onShadowChange,
showBlur,
onBlurChange,
motionBlurEnabled = true,
motionBlurEnabled = false,
onMotionBlurChange,
borderRadius = 0,
onBorderRadiusChange,
+1 -1
View File
@@ -45,7 +45,7 @@ export default function VideoEditor() {
const [wallpaper, setWallpaper] = useState<string>(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<CropRegion>(DEFAULT_CROP_REGION);
@@ -69,7 +69,7 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(({
showShadow,
shadowIntensity = 0,
showBlur,
motionBlurEnabled = true,
motionBlurEnabled = false,
borderRadius = 0,
padding = 50,
cropRegion,
@@ -23,7 +23,7 @@ export function applyZoomTransform({
focusY,
motionIntensity,
isPlaying,
motionBlurEnabled = true,
motionBlurEnabled = false,
}: TransformParams) {
if (
stageSize.width <= 0 ||
+1 -1
View File
@@ -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)