From ea1bce4e7b7cb3866300598385802c44d26ddc8c Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Thu, 5 Jun 2025 23:19:00 +0800 Subject: [PATCH] fix(tab-row): ensure similar behavior between horizontal/vertical scrolling --- apps/client/src/widgets/tab_row.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/tab_row.ts b/apps/client/src/widgets/tab_row.ts index 2d8c8e20e..94dc9cda2 100644 --- a/apps/client/src/widgets/tab_row.ts +++ b/apps/client/src/widgets/tab_row.ts @@ -388,7 +388,7 @@ export default class TabRowWidget extends BasicWidget { let pendingScroll = 0; let isScrolling = false; const stepScroll = () => { - if (Math.abs(pendingScroll) > 10) { + if (Math.abs(pendingScroll) > 5) { const step = Math.round(pendingScroll * 0.2); pendingScroll -= step; this.scrollTabContainer(step, "instant");