This commit is contained in:
2026-07-16 05:23:29 +02:00
parent e9f2929bf6
commit 9fb0a24488
2 changed files with 9 additions and 5 deletions

View File

@@ -6823,10 +6823,12 @@ window.cancelAnimFrame = (function () {
const isHidden = layout.classList.contains('sidebar-hidden');
if (isHidden) {
leftEdgeZone.style.left = '0';
leftEdgeZone.style.width = '30px';
leftEdgeZone.style.pointerEvents = 'all';
} else {
const rect = sb.getBoundingClientRect();
leftEdgeZone.style.left = (rect.right - 5) + 'px';
const sw = sb.offsetWidth;
leftEdgeZone.style.left = sw + 'px';
leftEdgeZone.style.width = '25px';
leftEdgeZone.style.pointerEvents = 'all';
}
};