mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-19 07:01:10 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a791c5dadc | ||
|
|
247cde9c09 | ||
|
|
425f0ae1c3 |
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"brandShortName": "Zen",
|
||||
"brandFullName": "Zen Browser",
|
||||
"release": {
|
||||
"displayVersion": "1.21.7b",
|
||||
"displayVersion": "1.21.8b",
|
||||
"github": {
|
||||
"repo": "zen-browser/desktop"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user