修改选项卡位置调整

master
于肖磊 2025-02-17 10:05:46 +08:00
parent 670d495ee2
commit 86d3995bf0
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@
let new_width = tabs_index == 0 && index != 0 ? rect[1].left - rect[0].width - rect[0].left : rect[0].left;
//
if (index > 0 && tabs_index == index) {
new_width = rect[index + 1].left + rect[index].width
new_width = rect[0].left - rect[index + 1].left + rect[index].width;
}
const scrollLeft =
rect[index].left +