diff options
Diffstat (limited to 'apps/web/src/timeline/playhead-snap-source.ts')
| -rw-r--r-- | apps/web/src/timeline/playhead-snap-source.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/web/src/timeline/playhead-snap-source.ts b/apps/web/src/timeline/playhead-snap-source.ts new file mode 100644 index 00000000..88e21eba --- /dev/null +++ b/apps/web/src/timeline/playhead-snap-source.ts @@ -0,0 +1,9 @@ +import type { SnapPoint } from "@/timeline/snapping"; + +export function getPlayheadSnapPoints({ + playheadTime, +}: { + playheadTime: number; +}): SnapPoint[] { + return [{ time: playheadTime, type: "playhead" }]; +} |
