diff --git a/leaderboard.php b/leaderboard.php index 8d50fb2..efba78d 100644 --- a/leaderboard.php +++ b/leaderboard.php @@ -4,7 +4,7 @@ Meilleurs scores - Webtris - +
diff --git a/style.css b/style.css index a80c0b9..ce38fb2 100644 --- a/style.css +++ b/style.css @@ -166,11 +166,7 @@ a:hover { justify-content: center; } -<<<<<<< HEAD - -======= ->>>>>>> 7495206d88a9f084621605098597b93928fb6c63 -#leaderboard { +#leaderboard{ min-width: 25%; margin: auto; text-align: center; diff --git a/webtris.js b/webtris.js index 4eaea2b..5ebf311 100644 --- a/webtris.js +++ b/webtris.js @@ -746,6 +746,7 @@ function pause() { scheduler.clearTimeout(lockDown) scheduler.clearTimeout(autorepeat) scheduler.clearInterval(clock) + scheduler.clearInterval(delTempTexts) holdQueue.draw() matrix.draw() nextQueue.draw() @@ -764,6 +765,8 @@ function resume() { holdQueue.draw() matrix.draw() nextQueue.draw() + if (tempTexts.length) + scheduler.setInterval(delTempTexts, DELAY.MESSAGE) } }