[Basilisk] ported PM version of tab caption fading to here

This commit is contained in:
roytam1 2023-03-09 16:31:24 +08:00
commit 2a32b18f46
4 changed files with 36 additions and 3 deletions

View file

@ -849,6 +849,9 @@ var SessionStoreInternal = {
tab.label = activePageData.url;
tab.crop = "center";
}
if (this._prefBranch.getBoolPref("tabs.fadeLabels")) {
tab.crop = "clip";
}
} else if (tab.hasAttribute("customizemode")) {
win.gCustomizeMode.setTab(tab);
}