From 10b429701202ebbfbd46e90bf0b25d5f7d677f10 Mon Sep 17 00:00:00 2001
From: adrien <adrien@malingrey.fr>
Date: Fri, 21 Apr 2023 20:57:22 +0200
Subject: [PATCH] create div on js

---
 app.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app.js b/app.js
index ed7e44a..462111a 100644
--- a/app.js
+++ b/app.js
@@ -481,7 +481,7 @@ class Stats {
         if (patternScore) {
             let div = document.createElement("div")
             div.className = "zoom-in-animation"
-            div.style = "animation-delay: .2s"
+            div.style = "animation-delay: .2s; animation-duration: .8s"
             div.innerHTML = patternScore
             scoreSpan.appendChild(div)
             this.score += patternScore
@@ -494,7 +494,7 @@ class Stats {
                 let comboScore = (nbClearedLines == 1 ? 20 : 50) * this.combo * this.level
                 let div = document.createElement("div")
                 div.className = "zoom-in-animation"
-                div.style = "animation-delay: .4s"
+                div.style = "animation-delay: .4s; animation-duration: .6s"
                 div.innerHTML = `COMBO x${this.combo}<br/>${comboScore}`
                 scoreSpan.appendChild(div)
                 this.score += comboScore
@@ -510,7 +510,7 @@ class Stats {
                 let b2bScore = patternScore / 2
                 let div = document.createElement("div")
                 div.className = "zoom-in-animation"
-                div.style = "animation-delay: .4s"
+                div.style = "animation-delay: .4s; animation-duration: .6s"
                 div.innerHTML = `BACK TO BACK x${this.b2b}<br/>${b2bScore}`
                 scoreSpan.appendChild(div)
                 this.score += b2bScore