fix leaderboard

This commit is contained in:
Adrien MALINGREY 2020-10-01 20:35:51 +02:00
parent 70cfd94bc3
commit 5ef94fcf73
3 changed files with 5 additions and 6 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>Meilleurs scores - Webtris</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<header>

View File

@ -166,11 +166,7 @@ a:hover {
justify-content: center;
}
<<<<<<< HEAD
=======
>>>>>>> 7495206d88a9f084621605098597b93928fb6c63
#leaderboard {
#leaderboard{
min-width: 25%;
margin: auto;
text-align: center;

View File

@ -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)
}
}