From c9795f816cca29f05cddb4edfeaa103079d9c36b Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Wed, 8 Apr 2026 19:02:44 -0500 Subject: [PATCH] Mod round buttons: clean button state management without extra animations --- src/public/script.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/public/script.js b/src/public/script.js index de750b0..6d99d0a 100644 --- a/src/public/script.js +++ b/src/public/script.js @@ -361,16 +361,10 @@ function renderRoundButtons(){ openBtn.innerHTML='■ CLOSE ROUND'; openBtn.className='btn btn-red btn-full'; resumeBtn.style.display='block'; - if(typeof gsap!=='undefined'){ - gsap.fromTo(resumeBtn,{opacity:0,y:4},{opacity:1,y:0,duration:0.3,ease:'power2.out'}); - } } else { openBtn.innerHTML='▶ OPEN ROUND'; openBtn.className='btn btn-g btn-full'; resumeBtn.style.display='none'; - if(typeof gsap!=='undefined'){ - gsap.to(resumeBtn,{opacity:0,y:-4,duration:0.3,ease:'power2.in',onComplete:()=>{resumeBtn.style.display='none';}}); - } } }