mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 14:55:37 +00:00
Merge pull request #589 from webadderallorg/fix/reset-cursor-state-on-source-load
fix: reset cursor state on recording load
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user