fix: Split view calculating the wrong side of split view, b=(no-bug), c=split-view

This commit is contained in:
mr. m
2025-04-17 18:26:04 +02:00
parent ebded1a73b
commit c3e658d46a

View File

@@ -326,7 +326,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
return;
}
const panelsWidth = panelsRect.width;
const halfWidth = panelsWidth / 2;
const halfWidth = panelsWidth / 2 + gNavToolbox.getBoundingClientRect().width;
const padding = ZenThemeModifier.elementSeparation;
if (!this.fakeBrowser) {
return;