From c3a02d7e338098ea881dfbcb1fb6911109625be1 Mon Sep 17 00:00:00 2001 From: Red J Adaya Date: Wed, 11 Sep 2024 14:22:32 +0800 Subject: [PATCH] revert tabs scroll timing (#363) --- frontend/app/tab/tabbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/tab/tabbar.tsx b/frontend/app/tab/tabbar.tsx index 0a6c0ea92..e47acd2ee 100644 --- a/frontend/app/tab/tabbar.tsx +++ b/frontend/app/tab/tabbar.tsx @@ -429,7 +429,7 @@ const TabBar = React.memo(({ workspace }: TabBarProps) => { tabsWrapperRef.current.style.transition; tabsWrapperRef.current.style.setProperty("--tabs-wrapper-transition", "width 0.1s ease"); - debounce(300, () => { + debounce(30, () => { if (scrollableRef.current) { const { viewport } = osInstanceRef.current.elements(); viewport.scrollLeft = tabIds.length * tabWidthRef.current;