Bar: Revert extra exclusion zone pixel. Fix #1163

This commit is contained in:
Lemmy
2025-12-28 08:59:09 -05:00
parent d53ff20349
commit 851e915487
+4 -4
View File
@@ -45,9 +45,9 @@ PanelWindow {
// Vertical bar: reserve bar height + margin on the anchored edge only
if (barFloating) {
// For left bar, reserve left margin; for right bar, reserve right margin
return Style.barHeight + barMarginH + 1;
return Style.barHeight + barMarginH;
}
return Style.barHeight + 1;
return Style.barHeight;
}
return 0; // Auto-width when left/right anchors are true
}
@@ -57,9 +57,9 @@ PanelWindow {
// Horizontal bar: reserve bar height + margin on the anchored edge only
if (barFloating) {
// For top bar, reserve top margin; for bottom bar, reserve bottom margin
return Style.barHeight + barMarginV + 1;
return Style.barHeight + barMarginV;
}
return Style.barHeight + 1;
return Style.barHeight;
}
return 0; // Auto-height when top/bottom anchors are true
}