mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 23:05:49 +00:00
Keep preview motion blur active during layout changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user