fix: made flipping animation quicker

This commit is contained in:
2026-02-21 22:21:03 +05:30
parent 857c889cb1
commit e97f28d12d
2 changed files with 58 additions and 2983 deletions

View File

@@ -47,7 +47,7 @@ function TileGrid() {
gsap.killTweensOf(tile);
gsap.to(tile, {
rotateY: 180,
duration: 0.5,
duration: 0.06, // Reduced duration for quicker flip
ease: "power2.inOut",
overwrite: true,
});
@@ -60,7 +60,7 @@ function TileGrid() {
gsap.killTweensOf(tile);
gsap.to(tile, {
rotateY: 0,
duration: 0.5,
duration: 0.6, // Reduced duration for quicker flip back
ease: "power2.inOut",
overwrite: true,
});