Create polished demo videos without editing skills. Mac/Windows/Linux
fix: reset cursor state on recording load
wiiiii123907dee4df94d
diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsxindex 40d40dd9..4050189e 100644--- a/src/components/video-editor/VideoEditor.tsx+++ b/src/components/video-editor/VideoEditor.tsx@@ -2074,6 +2074,8 @@ export default function VideoEditor() {setSpeedRegions([]);setAnnotationRegions([]);setAudioRegions([]);+ setCursorTelemetry([]);+ setCursorTelemetrySourcePath(null);setSourceAudioTrackSettingsByClip({});setDefaultSourceAudioTrackSettings({});setHasClipSourceAudio(false);@@ -2088,6 +2090,8 @@ export default function VideoEditor() {nextAudioIdRef.current = 1;nextAnnotationIdRef.current = 1;nextAnnotationZIndexRef.current = 1;+ pendingFreshRecordingAutoSuggestTelemetryCountRef.current = 0;+ autoSuggestedVideoPathRef.current = null;resetEditorHistoryStack(editorHistoryRef.current);applyingHistoryRef.current = false;syncHistoryButtons();