File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
assets/javascripts/new-javascripts Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff 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 (1.2 )' } ,
178+ defaults : { duration : DURATION , ease : 'in (1.8 )' } ,
179179 } )
180180
181181 tl . label ( 'start' , 0 )
@@ -211,13 +211,17 @@ const heroAnimation = async (animContainer) => {
211211 } ,
212212 'start' ,
213213 )
214+ let count = 0
214215 // Purple swoop
215216 tl . add (
216217 heroSwoops [ 0 ] . state ,
217218 {
218219 progress : 1 ,
219220 duration : 950 - 950 * offScreenDelta ,
220- onUpdate : ( ) => swoopUpdate ( heroSwoops [ 0 ] ) ,
221+ onUpdate : ( ) => {
222+ swoopUpdate ( heroSwoops [ 0 ] )
223+ if ( count ++ > 0 ) debugger
224+ } ,
221225 } ,
222226 'start' ,
223227 )
@@ -254,7 +258,7 @@ const heroAnimation = async (animContainer) => {
254258 tl . add (
255259 logo . state ,
256260 {
257- ease : 'out(2)' ,
261+ ease : 'out(1. 2)' ,
258262 duration : 200 - 200 * offScreenDelta ,
259263 delay : 750 - 750 * offScreenDelta ,
260264 progress : 1 ,
You can’t perform that action at this time.
0 commit comments