Compare commits

..

3 Commits

3 changed files with 10 additions and 3 deletions

View File

@@ -898,7 +898,10 @@
handle_windowDragLeave(event) {
// If relatedTarget exists, then we are still in the window
if (event.relatedTarget) {
if (
event.relatedTarget ||
event.target.id === "zen-split-view-fake-browser"
) {
return;
}
const canvas = this._tabbrowserTabs._dndCanvas;

View File

@@ -2486,7 +2486,8 @@ class nsZenWorkspaces {
w => w.uuid !== this.activeWorkspace
);
const ctxCommand = document.getElementById("cmd_zenCtxDeleteWorkspace");
if (workspaces.length <= 1) {
const hasMultipleWorkspaces = !!workspaces.length;
if (!hasMultipleWorkspaces) {
ctxCommand.setAttribute("disabled", "true");
} else {
ctxCommand.removeAttribute("disabled");
@@ -2506,6 +2507,9 @@ class nsZenWorkspaces {
)) {
item.remove();
}
if (!hasMultipleWorkspaces) {
continue;
}
const separator = document.createXULElement("menuseparator");
separator.classList.add("zen-workspace-context-menu-item");
if (isMoveTabPopup) {

View File

@@ -20,7 +20,7 @@
"brandShortName": "Zen",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.21.7b",
"displayVersion": "1.21.8b",
"github": {
"repo": "zen-browser/desktop"
},