From f8d5421c23a6b4414dcb5af6f8c2661003a0059d Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Wed, 18 Dec 2024 15:23:31 +0800 Subject: [PATCH] remove unnecessary bits --- apps/desktop/src/routes/editor/Timeline.tsx | 8 -------- crates/recording/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/desktop/src/routes/editor/Timeline.tsx b/apps/desktop/src/routes/editor/Timeline.tsx index 0a5ce8c2..89e76512 100644 --- a/apps/desktop/src/routes/editor/Timeline.tsx +++ b/apps/desktop/src/routes/editor/Timeline.tsx @@ -176,7 +176,6 @@ export function Timeline() { "timeline", "segments", produce((segments) => { - console.log({ splitTime }); segments.splice(i() + 1, 0, { start: splitTime, end: segment.end, @@ -284,12 +283,6 @@ export function Timeline() { segment.recordingSegment ?? 0 ].display.duration; - console.log( - editorInstance.recordings.segments[ - segment.recordingSegment ?? 0 - ] - ); - const availableTimelineDuration = editorInstance.recordingDuration - segments().reduce( @@ -426,7 +419,6 @@ export function Timeline() { }, }, }); - console.log(zoomSegments); }) ); }); diff --git a/crates/recording/src/lib.rs b/crates/recording/src/lib.rs index 486896bd..edbfd40c 100644 --- a/crates/recording/src/lib.rs +++ b/crates/recording/src/lib.rs @@ -2,7 +2,7 @@ pub mod actor; mod cursor; pub mod segmented_actor; -pub use segmented_actor::{spawn_recording_actor, ActorHandle, CompletedRecording, RecordingError}; +pub use actor::{spawn_recording_actor, ActorHandle, CompletedRecording, RecordingError}; use cap_media::sources::*; use serde::{Deserialize, Serialize};