Skip to content

Commit

Permalink
Bezier curve option for keyframe on timeline track
Browse files Browse the repository at this point in the history
  • Loading branch information
nahkd123 committed Sep 30, 2024
1 parent b957f2b commit 87b2172
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nahara-motion-ui/src/ui/timeline/TimelineTrack.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@
["hold", "Hold", "easing.hold"],
["ease-in", "Ease in", "easing.in"],
["ease-out", "Ease out", "easing.out"],
["ease-in-out", "Ease in out", "easing.inout"]
["ease-in-out", "Ease in out", "easing.inout"],
[
{ type: "bezier", startControlPoint: { x: 0.5, y: -0.2 }, endControlPoint: { x: -0.5, y: 0.2 } },
"Bezier curve",
"easing.bezier"
]
] as [Easing, string, string][]).map(s => ({
type: "simple",
name: s[1],
Expand Down

0 comments on commit 87b2172

Please sign in to comment.