Skip to content

TimelineMovePlan

Defined in: transaction/src/layout.ts:29

Pure preview result for one proposed timeline move.

readonly ghost: TimelinePlacement

Defined in: transaction/src/layout.ts:44

Where the dragged Item is drawn while the pointer is still down.


readonly insertAtUs: number | undefined

Defined in: transaction/src/layout.ts:42

Insertion line position on the storyline; absent when the drop is free.


readonly mode: "reorder" | "free"

Defined in: transaction/src/layout.ts:45


readonly placements: ReadonlyMap<string, TimelinePlacement>

Defined in: transaction/src/layout.ts:40

Where every Item that actually moves lands, the dragged clip included.

Only Items whose Track or start time differ from the committed Project are listed. Repacking a storyline recomputes a position for every clip on it, but a drop near the end leaves the ones before it exactly where they were, and reporting those costs a caller a write per clip on every pointer move — for a preview that would draw them in the same place either way. An empty map therefore means the drop changes nothing.