mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
fix: Split view calculating the wrong side of split view, b=(no-bug), c=split-view
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user