We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88fa8a1 commit dcc510dCopy full SHA for dcc510d
1 file changed
homepage.js
@@ -1210,6 +1210,7 @@ gsap.to(scrollProgress, {
1210
stagger: 0.2,
1211
opacity: 1,
1212
duration:4,
1213
+ overwrite: 'auto',
1214
onStart:()=>{
1215
const source = sfx.createBufferSource();
1216
source.buffer = buffer3;
@@ -1260,13 +1261,15 @@ gsap.to(scrollProgress, {
1260
1261
1262
document.addEventListener('click', handleClick);
1263
- document.getElementsByClassName('cont-cont')[0].remove()
1264
}
1265
})
1266
1267
gsap.to('.cont-letters',{
1268
scale:1,
1269
- duration:5
+ duration:5,
1270
+ onComplete:()=>{
1271
+ document.getElementsByClassName('cont-cont')[0].remove()
1272
+ }
1273
1274
setTimeout(()=>{
1275
scene = null;
0 commit comments