From b48f53f9672f2da5a9a56bcf83039163c1bc18ad Mon Sep 17 00:00:00 2001 From: zero01101 Date: Sun, 9 Jul 2023 02:54:42 +0000 Subject: [PATCH] Prettified Code! --- css/index.css | 4 +++- index.html | 2 +- js/ui/tool/dream.js | 9 ++++++--- pages/configuration.html | 2 +- pages/embed.test.html | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/css/index.css b/css/index.css index 567e078..f12b8e1 100644 --- a/css/index.css +++ b/css/index.css @@ -82,7 +82,9 @@ body { max-height: 0; overflow-y: clip; overflow-x: visible; - transition: max-height 0.2s ease-out, height 0s ease-out; + transition: + max-height 0.2s ease-out, + height 0s ease-out; } .menu-container { diff --git a/index.html b/index.html index 0bdf911..921e31d 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index c9ce8fd..0ccb20b 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -62,9 +62,12 @@ const _monitorProgress = (bb, oncheck = null) => { } const timeSpent = performance.now() - init; - setTimeout(() => { - if (running) _checkProgress(); - }, Math.max(0, minDelay - timeSpent)); + setTimeout( + () => { + if (running) _checkProgress(); + }, + Math.max(0, minDelay - timeSpent) + ); }; _checkProgress(); diff --git a/pages/configuration.html b/pages/configuration.html index 747debd..0bfc641 100644 --- a/pages/configuration.html +++ b/pages/configuration.html @@ -1,4 +1,4 @@ - + diff --git a/pages/embed.test.html b/pages/embed.test.html index 2b23628..420c634 100644 --- a/pages/embed.test.html +++ b/pages/embed.test.html @@ -1,4 +1,4 @@ - +