Skip to content

Commit

Permalink
fix: open box animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivomo committed Nov 1, 2023
1 parent 77a113b commit 678b40b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/TreasureChest/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
&.opening {
visibility: visible;
.progress {
width: 100%;
width: 90%;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions packages/client/src/pages/game/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ const Game = () => {
clearInterval(interval)
let boxData = await revealBox(id)
boxData.id = id
boxs[boxIndex].opening = false;
getCollectionsFun(boxData);
}
}, 1000)
Expand Down

0 comments on commit 678b40b

Please sign in to comment.