chore: Add support for 9 essentials dynamic layout, b=(no-bug), c=workspaces

This commit is contained in:
mr. m
2025-04-30 20:12:44 +02:00
parent b4a5c1504c
commit 5fe326aad8

View File

@@ -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;