diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-04-20 11:31:17 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-04-20 11:31:17 +0200 |
| commit | 3e89d2998588f8e35c524e523ba2ee853f0f6475 (patch) | |
| tree | 57221f96c1259b3b07e3ddf8c1adefc502b9d8eb /apps/web/src/core/managers/timeline-manager.ts | |
| parent | 729d10592f4e802f91c555c309ff3ba4b119f843 (diff) | |
| download | opencut-3e89d2998588f8e35c524e523ba2ee853f0f6475.tar.gz | |
refactor: restructure files to their domains, new preview overlay system, and dep graph
Diffstat (limited to 'apps/web/src/core/managers/timeline-manager.ts')
| -rw-r--r-- | apps/web/src/core/managers/timeline-manager.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/web/src/core/managers/timeline-manager.ts b/apps/web/src/core/managers/timeline-manager.ts index c58128fb..dbc3332b 100644 --- a/apps/web/src/core/managers/timeline-manager.ts +++ b/apps/web/src/core/managers/timeline-manager.ts @@ -1,33 +1,33 @@ import type { EditorCore } from "@/core"; -import type { ElementBounds } from "@/lib/preview/element-bounds"; -import type { ParamValues } from "@/lib/params"; +import type { ElementBounds } from "@/preview/element-bounds"; +import type { ParamValues } from "@/params"; import type { SceneTracks, TrackType, TimelineTrack, TimelineElement, RetimeConfig, -} from "@/lib/timeline"; -import { calculateTotalDuration } from "@/lib/timeline"; -import { findTrackInSceneTracks } from "@/lib/timeline/track-element-update"; +} from "@/timeline"; +import { calculateTotalDuration } from "@/timeline"; +import { findTrackInSceneTracks } from "@/timeline/track-element-update"; import { canElementBeHidden, canElementHaveAudio, -} from "@/lib/timeline/element-utils"; +} from "@/timeline/element-utils"; import type { AnimationPath, AnimationInterpolation, AnimationValue, AnimationValueForPath, ScalarCurveKeyframePatch, -} from "@/lib/animation/types"; +} from "@/animation/types"; import { getElementLocalTime, resolveAnimationTarget, resolveAnimationPathValueAtTime, -} from "@/lib/animation"; +} from "@/animation"; import { lastFrameTime } from "opencut-wasm"; -import { BatchCommand } from "@/lib/commands"; +import { BatchCommand } from "@/commands"; import { AddTrackCommand, RemoveTrackCommand, @@ -56,12 +56,12 @@ import { UpsertEffectParamKeyframeCommand, RemoveEffectParamKeyframeCommand, ToggleSourceAudioSeparationCommand, -} from "@/lib/commands/timeline"; -import type { InsertElementParams } from "@/lib/commands/timeline/element/insert-element"; +} from "@/commands/timeline"; +import type { InsertElementParams } from "@/commands/timeline/element/insert-element"; import type { PlannedElementMove, PlannedTrackCreation, -} from "@/lib/timeline/group-move"; +} from "@/timeline/group-move"; export class TimelineManager { private listeners = new Set<() => void>(); |
