fix: made flipping animation quicker
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
3037
pnpm-lock.yaml
generated
3037
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user