Skip to content

Commit 1e45c81

Browse files
author
Jesse Borden
committed
style(hero): Update animation ease.
1 parent e6cb85b commit 1e45c81

File tree

1 file changed

+2
-2
lines changed
  • assets/javascripts/new-javascripts

1 file changed

+2
-2
lines changed

assets/javascripts/new-javascripts/hero.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const heroAnimation = async (animContainer) => {
175175
const DURATION = 1000 - 1000 * offScreenDelta
176176

177177
const tl = anime.createTimeline({
178-
defaults: { duration: DURATION, ease: 'in(1.2)' },
178+
defaults: { duration: DURATION, ease: 'inOut(1.2)' },
179179
})
180180

181181
tl.label('start', 0)
@@ -254,7 +254,7 @@ const heroAnimation = async (animContainer) => {
254254
tl.add(
255255
logo.state,
256256
{
257-
ease: 'out(1.2)',
257+
ease: 'out(2)',
258258
duration: 200 - 200 * offScreenDelta,
259259
delay: 750 - 750 * offScreenDelta,
260260
progress: 1,

0 commit comments

Comments
 (0)