mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 13:52:11 +00:00
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com> Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home> Co-authored-by: bflatastic <bombayapirat@gmail.com>
20 lines
520 B
TypeScript
20 lines
520 B
TypeScript
import { updateObject } from "~/pages/PageEnigma/signals";
|
|
import { TrackKeyFrames } from "~/pages/PageEnigma/comps/Timeline/TrackKeyFrames";
|
|
import { ClipGroup } from "~/enums";
|
|
import { ObjectTrack } from "~/pages/PageEnigma/models";
|
|
|
|
interface Props {
|
|
object: ObjectTrack;
|
|
}
|
|
|
|
export const ObjectTrackComponent = ({ object }: Props) => {
|
|
return (
|
|
<TrackKeyFrames
|
|
id={object.object_uuid}
|
|
keyframes={object.keyframes}
|
|
updateKeyframe={updateObject}
|
|
group={ClipGroup.OBJECT}
|
|
/>
|
|
);
|
|
};
|