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) => {
175
175
const DURATION = 1000 - 1000 * offScreenDelta
176
176
177
177
const tl = anime . createTimeline ( {
178
- defaults : { duration : DURATION , ease : 'inOut (1.2 )' } ,
178
+ defaults : { duration : DURATION , ease : 'in (1.8 )' } ,
179
179
} )
180
180
181
181
tl . label ( 'start' , 0 )
@@ -211,13 +211,17 @@ const heroAnimation = async (animContainer) => {
211
211
} ,
212
212
'start' ,
213
213
)
214
+ let count = 0
214
215
// Purple swoop
215
216
tl . add (
216
217
heroSwoops [ 0 ] . state ,
217
218
{
218
219
progress : 1 ,
219
220
duration : 950 - 950 * offScreenDelta ,
220
- onUpdate : ( ) => swoopUpdate ( heroSwoops [ 0 ] ) ,
221
+ onUpdate : ( ) => {
222
+ swoopUpdate ( heroSwoops [ 0 ] )
223
+ if ( count ++ > 0 ) debugger
224
+ } ,
221
225
} ,
222
226
'start' ,
223
227
)
@@ -254,7 +258,7 @@ const heroAnimation = async (animContainer) => {
254
258
tl . add (
255
259
logo . state ,
256
260
{
257
- ease : 'out(2)' ,
261
+ ease : 'out(1. 2)' ,
258
262
duration : 200 - 200 * offScreenDelta ,
259
263
delay : 750 - 750 * offScreenDelta ,
260
264
progress : 1 ,
You can’t perform that action at this time.
0 commit comments