From d4e3104ddf338e2b9cf97a489525016669217b2f Mon Sep 17 00:00:00 2001 From: MoonLeeeaf <150461955+MoonLeeeaf@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:44:49 +0800 Subject: [PATCH] fix: auto resize on mobile --- ling_chair_http/handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ling_chair_http/handler.js b/ling_chair_http/handler.js index ef4ddfe..4867093 100644 --- a/ling_chair_http/handler.js +++ b/ling_chair_http/handler.js @@ -615,7 +615,7 @@ class ChatMsgAdapter { // < 0 为窗口变大 // cnm的,调试十万次就你tm检测不到底是吧,就你语法天天错误是吧 // 欺负我现在用不了电脑 - top: -(ledi) * ((ledi < 0 && this.isAtBottom()) ? 6 : -1), // (ledi < 0 ? 6 : 6), + top: (ledi >= 0 ? ledi * 2 : 60), behavior: 'smooth' }) this.resizeDick = window.innerHeight