We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d391373 + 0ea0791 commit 6e36a82Copy full SHA for 6e36a82
1 file changed
web-app/js/projects.js
@@ -746,7 +746,7 @@ function initCoinFlip() {
746
747
function setCoinFace(isHeads, seed) {
748
const targetY = isHeads ? 0 : 180;
749
- const flipX = 360 * (4 + (seed % 3)) + 90;
+ const flipX = 360 * (4 + (seed % 3));
750
const flipY = 360 * (3 + (seed % 2)) + targetY;
751
coin.style.setProperty('--flip-x', `${flipX}deg`);
752
coin.style.setProperty('--flip-y', `${flipY}deg`);
0 commit comments