From d9b7cb255bf42e64f01dac586fe7738e745eb170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=8F=B6?= <1936472877@qq.com> Date: Mon, 16 Dec 2024 15:26:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20#steam=E6=9C=89=E6=A6=82=E7=8E=87?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E4=B8=8D=E5=87=BA=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Render.js | 2 +- resources/user/index.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Render.js b/components/Render.js index 3970f7b..8f2c9e7 100644 --- a/components/Render.js +++ b/components/Render.js @@ -117,7 +117,7 @@ const Render = { const input = `${tempPath}/output.mp4` await recorder.start(input) - const sleep = Math.abs(Config.gif.videoLimit || 5) + const sleep = Math.abs(Config.gif.videoLimit || 3) await new Promise(resolve => setTimeout(resolve, sleep * 1000)) await recorder.stop() diff --git a/resources/user/index.html b/resources/user/index.html index eba5573..647b23f 100644 --- a/resources/user/index.html +++ b/resources/user/index.html @@ -26,7 +26,9 @@