Fix tab position calculation to ensure new tabs are inserted correctly after the current tab

This commit is contained in:
mr. M
2025-03-06 16:10:25 +01:00
parent 8ed5b50c3d
commit 391cb84117

View File

@@ -79,7 +79,7 @@
skipBackgroundNotify: true,
insertTab: true,
skipLoad: false,
index: this.getTabPosition(currentTab),
index: this.getTabPosition(currentTab) + 1,
};
currentTab._selected = true;
const newUUID = gZenUIManager.generateUuidv4();