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
better ux for previewing zoom only during playback and not showing default while applying
Siddharth5ebef969356e
diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsxindex 42976ef87..2804bc001 100644--- a/src/components/video-editor/VideoPlayback.tsx+++ b/src/components/video-editor/VideoPlayback.tsx@@ -593,7 +593,13 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(({let targetScaleFactor = 1;let targetFocus = defaultFocus;- if (region && strength > 0) {+ // If a zoom is selected but video is not playing, show default unzoomed view+ // (the overlay will show where the zoom will be)+ const selectedId = selectedZoomIdRef.current;+ const hasSelectedZoom = selectedId !== null;+ const shouldShowUnzoomedView = hasSelectedZoom && !isPlayingRef.current;++ if (region && strength > 0 && !shouldShowUnzoomedView) {const zoomScale = ZOOM_DEPTH_SCALES[region.depth];const regionFocus = clampFocusToStage(region.focus, region.depth);