mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-05 08:17:04 +00:00
Enhance tab management by updating the toolbar on tab close and adjusting overflow behavior for the tab browser
This commit is contained in:
@@ -22,6 +22,8 @@ var gZenUIManager = {
|
||||
this.sidebarHeightThrottle
|
||||
)
|
||||
).observe(document.getElementById('navigator-toolbox'));
|
||||
|
||||
window.addEventListener('TabClose', this.updateTabsToolbar.bind(this));
|
||||
},
|
||||
|
||||
updateTabsToolbar() {
|
||||
|
||||
@@ -572,6 +572,7 @@
|
||||
gBrowser.pinTab(tab);
|
||||
this.onTabIconChanged(tab);
|
||||
}
|
||||
gZenUIManager.updateTabsToolbar();
|
||||
}
|
||||
|
||||
removeEssentials() {
|
||||
@@ -584,6 +585,7 @@
|
||||
}
|
||||
gBrowser.unpinTab(tab);
|
||||
}
|
||||
gZenUIManager.updateTabsToolbar();
|
||||
}
|
||||
|
||||
_insertItemsIntoTabContextMenu() {
|
||||
|
||||
Reference in New Issue
Block a user