mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 16:58:30 +00:00
revert tabs scroll timing (#363)
This commit is contained in:
parent
f6fc0125fd
commit
c3a02d7e33
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue