Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

Keep preview motion blur active during layout changes

youngc18a4f0b0ba6
diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsx
index cf5cc744..df1ee6e9 100644
--- a/src/components/video-editor/VideoPlayback.tsx
+++ b/src/components/video-editor/VideoPlayback.tsx
@@ -1842,6 +1842,9 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(
cursorOverlayRef.current.destroy();
cursorOverlayRef.current = null;
}
+ if (videoEffectsContainerRef.current) {
+ videoEffectsContainerRef.current.filters = null;
+ }
zoomBlurFilterRef.current?.destroy();
motionBlurFilterRef.current?.destroy();
zoomBlurFilterRef.current = null;
@@ -1952,7 +1955,6 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(
}
videoContainer.mask = null;
maskGraphicsRef.current = null;
- videoEffectsContainer.filters = null;
videoTexture.destroy(false);
videoSpriteRef.current = null;