revert tabs scroll timing (#363)

This commit is contained in:
Red J Adaya
2024-09-10 23:22:32 -07:00
committed by GitHub
parent f6fc0125fd
commit c3a02d7e33
+1 -1
View File
@@ -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;