mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-28 10:14:12 +00:00
chore: Update Windows mozconfig and ZenWorkspaces.mjs
- Commented out the WIN32_REDIST_DIR and WIN_UCRT_REDIST_DIR lines in the Windows mozconfig file - Modified the condition in ZenWorkspaces.mjs to check if the number of shown tabs is equal to the length of gBrowser.tabs minus one Related recent commits: - Update Zen Browser styles for dark mode compatibility - Update alpha-build.sh script to handle xvfb-run not found, enable LTO only when not cross-compiling, and set LLVM_PROFDATA environment variable - Update alpha-build.sh script to handle xvfb-run not found and enable LTO only when not cross-compiling
This commit is contained in:
@@ -286,7 +286,7 @@ var ZenWorkspaces = {
|
||||
workspace.used = workspace.uuid === window.uuid;
|
||||
}
|
||||
this.unsafeSaveWorkspaces(workspaces);
|
||||
if (numShownTabs === gBrowser.tabs.length) {
|
||||
if (numShownTabs === gBrowser.tabs.length-1) {
|
||||
// If all tabs are hidden, we need to create a new tab
|
||||
// to show the workspace
|
||||
this._createNewTabForWorkspace(window);
|
||||
|
||||
Reference in New Issue
Block a user