mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-20 21:21:44 +01:00
Remove unnecessary log (#1498)
This commit is contained in:
parent
4070abadde
commit
4918737044
@ -256,21 +256,6 @@ const TabBar = memo(({ workspace }: TabBarProps) => {
|
||||
// Determine if the tab bar needs to be scrollable
|
||||
const newScrollable = idealTabWidth * numberOfTabs > spaceForTabs;
|
||||
|
||||
console.log(
|
||||
"tabbarWrapperWidth",
|
||||
tabbarWrapperWidth,
|
||||
"nonTabElementsWidth",
|
||||
nonTabElementsWidth,
|
||||
"idealTabWidth",
|
||||
idealTabWidth,
|
||||
"spaceForTabs",
|
||||
spaceForTabs,
|
||||
"newScrollable",
|
||||
newScrollable,
|
||||
"devLabelWidth",
|
||||
devLabelWidth
|
||||
);
|
||||
|
||||
// Apply the calculated width and position to all tabs
|
||||
tabRefs.current.forEach((ref, index) => {
|
||||
if (ref.current) {
|
||||
|
Loading…
Reference in New Issue
Block a user