Skip to content

Commit 07ccea1

Browse files
authored
Merge pull request #1042 from jesseaborden/style/hero-anim-ease
Style/hero anim ease
2 parents 9f99559 + a24763a commit 07ccea1

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: 'inOut(.8)' },
178+
defaults: { duration: DURATION, ease: 'in(1.8)' },
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.1)',
257+
ease: 'out(1.2)',
258258
duration: 200 - 200 * offScreenDelta,
259259
delay: 750 - 750 * offScreenDelta,
260260
progress: 1,

0 commit comments

Comments
 (0)