UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

14 lines 586 B
import { timelineFramePtr } from "../../pointers/timelineFramePtr"; import { timelinePtr } from "../../pointers/timelinePtr"; import { frameIndicatorSignal } from "./frameIndicatorSignal"; import { timelineScrollerSeek } from "./timelineScrollerSeek"; export const setTimelineFrame = (frame, highlightFrame) => { const [timeline] = timelinePtr; if (!timeline) return; timeline.frame = timelineFramePtr[0] = frame; timeline.paused = true; frameIndicatorSignal.value = highlightFrame; timelineScrollerSeek(); }; //# sourceMappingURL=setTimelineFrame.js.map