[Basilisk] Port Pale Moon version of Tab fading Backport of roytam1/UXP commit 2a32b18f46.patch

This commit is contained in:
Basilisk-Dev 2023-03-11 16:03:42 -05:00 • committed by roytam1
commit 4abf537287
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);
}