|
|
|
@ -37,7 +37,6 @@ export default class SnakeClass extends SnakeControl { |
|
|
|
score.textContent = 0; |
|
|
|
score.style.fontSize = (container.clientWidth / 2160) * 120 + "px"; |
|
|
|
score.style.lineHeight = (container.clientWidth / 2160) * 95 + "px"; |
|
|
|
console.log(score.style); |
|
|
|
bg.appendChild(score); |
|
|
|
const modal = document.createElement("div"); |
|
|
|
modal.className = "modal show"; |
|
|
|
|