fix leaderboard
This commit is contained in:
parent
70cfd94bc3
commit
5ef94fcf73
@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>Meilleurs scores - Webtris</title>
|
<title>Meilleurs scores - Webtris</title>
|
||||||
<link rel="icon" type="image/png" href="favicon.png">
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
@ -166,11 +166,7 @@ a:hover {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
#leaderboard{
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 7495206d88a9f084621605098597b93928fb6c63
|
|
||||||
#leaderboard {
|
|
||||||
min-width: 25%;
|
min-width: 25%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -746,6 +746,7 @@ function pause() {
|
|||||||
scheduler.clearTimeout(lockDown)
|
scheduler.clearTimeout(lockDown)
|
||||||
scheduler.clearTimeout(autorepeat)
|
scheduler.clearTimeout(autorepeat)
|
||||||
scheduler.clearInterval(clock)
|
scheduler.clearInterval(clock)
|
||||||
|
scheduler.clearInterval(delTempTexts)
|
||||||
holdQueue.draw()
|
holdQueue.draw()
|
||||||
matrix.draw()
|
matrix.draw()
|
||||||
nextQueue.draw()
|
nextQueue.draw()
|
||||||
@ -764,6 +765,8 @@ function resume() {
|
|||||||
holdQueue.draw()
|
holdQueue.draw()
|
||||||
matrix.draw()
|
matrix.draw()
|
||||||
nextQueue.draw()
|
nextQueue.draw()
|
||||||
|
if (tempTexts.length)
|
||||||
|
scheduler.setInterval(delTempTexts, DELAY.MESSAGE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user