Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix perf playback choppiness
Siddharth5e994d214edf
diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsxindex 69363c585..35e007737 100644--- a/src/components/video-editor/VideoPlayback.tsx+++ b/src/components/video-editor/VideoPlayback.tsx@@ -1290,15 +1290,18 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(region: blurRegion,})),].sort((a, b) => a.region.zIndex - b.region.zIndex);- const previewSnapshotCanvas = (() => {- const app = appRef.current;- if (!app?.renderer?.extract) return null;- try {- return app.renderer.extract.canvas(app.stage);- } catch {- return null;- }- })();+ const previewSnapshotCanvas =+ filteredBlurRegions.length > 0+ ? (() => {+ const app = appRef.current;+ if (!app?.renderer?.extract) return null;+ try {+ return app.renderer.extract.canvas(app.stage);+ } catch {+ return null;+ }+ })()+ : null;// Handle click-through cycling: when clicking same annotation, cycle to nextconst handleAnnotationClick = (clickedId: string) => {