Fix CSS width calculation for expanded sidebar and correct typo in opacity removal; ensure proper tab icon updates on pinning.

This commit is contained in:
mr. M
2025-03-06 15:25:06 +01:00
parent 671a76bf86
commit b93faff771
3 changed files with 6 additions and 4 deletions

View File

@@ -82,7 +82,6 @@
}
onTabIconChanged(tab, url = null) {
const iconUrl = url ?? tab.iconImage.src;
if (tab.hasAttribute('zen-essential') && this._pinsCache) {
const pin = this._pinsCache.find((pin) => pin.uuid === tab.getAttribute('zen-pin-id'));
if (pin) {
@@ -631,8 +630,8 @@
} else {
gBrowser.pinTab(tab);
}
this.onTabIconChanged(tab);
this._onTabMove(tab);
this.onTabIconChanged(tab);
}
gZenUIManager.updateTabsToolbar();
}