This commit is contained in:
mr. M
2025-02-24 08:08:11 +01:00
4 changed files with 12 additions and 4 deletions

View File

@@ -47,8 +47,8 @@
#PanelUI-zen-gradient-generator-color-custom-add { #PanelUI-zen-gradient-generator-color-custom-add {
position: absolute; position: absolute;
right: 2px; right: 0px;
top: 4px; top: 0px;
cursor: pointer; cursor: pointer;
} }

View File

@@ -131,7 +131,6 @@
async _refreshPinnedTabs({ init = false } = {}) { async _refreshPinnedTabs({ init = false } = {}) {
await ZenWorkspaces.promiseSectionsInitialized; await ZenWorkspaces.promiseSectionsInitialized;
console.log('Refreshing pinned tabs');
await this._initializePinsCache(); await this._initializePinsCache();
await this._initializePinnedTabs(init); await this._initializePinnedTabs(init);
} }

View File

@@ -1805,6 +1805,15 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
// Fix ctrl+tab behavior. Note, we dont call it with "await" because we dont want to wait for it // Fix ctrl+tab behavior. Note, we dont call it with "await" because we dont want to wait for it
this._fixCtrlTabBehavior(); this._fixCtrlTabBehavior();
// Bug: When updating from previous versions, we used to hide the tabs not used in the new workspace
// we now need to show them again
if (onInit) {
console.log(this.allStoredTabs);
for (const tab of this.allStoredTabs) {
gBrowser.showTab(tab);
}
}
} }
async _fixCtrlTabBehavior() { async _fixCtrlTabBehavior() {

View File

@@ -39,7 +39,7 @@
"brandShortName": "Twilight", "brandShortName": "Twilight",
"brandFullName": "Zen Twilight", "brandFullName": "Zen Twilight",
"release": { "release": {
"displayVersion": "1.8t", "displayVersion": "1.8.1t",
"github": { "github": {
"repo": "zen-browser/desktop" "repo": "zen-browser/desktop"
} }