Skip to content

Commit

Permalink
Rename gradient element and fix animations
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschmeling authored Nov 11, 2021
1 parent d0a18df commit e0ff676
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/getElements/layers/foreground/combinationGradient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function combinationGradient(

return {
type: "gradient",
name: "question.fade",
name: "gradient.name-background",
startAt,
endAt,
props: {
Expand All @@ -40,14 +40,14 @@ export function combinationGradient(
endAt: startAt + (firstClipShort ? 0.4 : 0.8),
field: "alpha",
from: 0,
to: 0,
to: 1,
},
{
startAt: endAt - (finalClipShort ? 0.4 : 0.8),
endAt,
field: "alpha",
from: 0,
to: 1,
from: 1,
to: 0,
},
],
};
Expand Down

0 comments on commit e0ff676

Please sign in to comment.