mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-06 00:37:03 +00:00
chore: Add support for 9 essentials dynamic layout, b=(no-bug), c=workspaces
This commit is contained in:
@@ -2396,7 +2396,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
const essentialContainer = this.getEssentialsSection(workspaceObject.containerTabId);
|
||||
const essentialNumChildren = essentialContainer.children.length;
|
||||
let essentialHackType = 0;
|
||||
if (essentialNumChildren === 6) {
|
||||
if (essentialNumChildren === 6 || essentialNumChildren === 9) {
|
||||
essentialHackType = 1;
|
||||
} else if (essentialNumChildren % 2 === 0) {
|
||||
essentialHackType = 2;
|
||||
|
||||
Reference in New Issue
Block a user