Fixed normal tabs appear on pinned tab container

This commit is contained in:
mr. m
2025-02-11 13:26:50 +01:00
parent f2460549e0
commit 7cf0e05f70
3 changed files with 62 additions and 7 deletions

View File

@@ -67,7 +67,7 @@
}
getTabPosition(tab) {
return Math.max(gBrowser.pinnedTabCount, tab._tPos);
return Math.max(gBrowser._numVisiblePinTabs, tab._tPos);
}
createBrowserElement(url, currentTab, existingTab = null) {
@@ -574,6 +574,7 @@
DOMContentLoaded: {},
},
},
matches: ["https://*/*"],
});
}
}