mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
revert tabs scroll timing (#363)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user