mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-30 03:04:25 +00:00
feat: Prevent rebuilding workspaces when customizing items, b=(no-bug), c=workspaces
This commit is contained in:
@@ -37,10 +37,13 @@
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
if (this.delayConnectedCallback()) {
|
||||
if (this.delayConnectedCallback() || this._hasConnected) {
|
||||
// If we are not ready yet, or if we have already connected, we
|
||||
// don't need to do anything.
|
||||
return;
|
||||
}
|
||||
|
||||
this._hasConnected = true;
|
||||
this.appendChild(this.constructor.fragment);
|
||||
|
||||
this.tabsContainer = this.querySelector('.zen-workspace-normal-tabs-section');
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
if (this.delayConnectedCallback()) {
|
||||
if (this.delayConnectedCallback() || this._hasConnected) {
|
||||
return;
|
||||
}
|
||||
|
||||
this._hasConnected = true;
|
||||
window.addEventListener('ZenWorkspacesUIUpdate', this, true);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"brandShortName": "Zen",
|
||||
"brandFullName": "Zen Browser",
|
||||
"release": {
|
||||
"displayVersion": "1.12.6b",
|
||||
"displayVersion": "1.12.7b",
|
||||
"github": {
|
||||
"repo": "zen-browser/desktop"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user