mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
revert tabs scroll timing (#363)
This commit is contained in:
parent
f6fc0125fd
commit
c3a02d7e33
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user