From 7c73c82ac7a20a53f9a637faf5de1839b1f69747 Mon Sep 17 00:00:00 2001 From: ai_coder Date: Thu, 22 Oct 2026 09:50:37 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20window.pageXOffset/pageY?= =?UTF-8?q?Offset=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=BE=D0=B7=D0=B8=D1=86?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D1=82=D1=83=D0=BB=D1=82=D0=B8=D0=BF=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/index.html b/app/static/index.html index cdf0e90..aebe486 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -363,8 +363,8 @@ function showSegTip(el) { left = Math.max(8, Math.min(left, window.innerWidth - tr.width - 8)); let top = r.top - tr.height - 8; if (top < 8) top = r.bottom + 8; - tip.style.left = `${left + window.scrollX}px`; - tip.style.top = `${top + window.scrollY}px`; + tip.style.left = `${left + window.pageXOffset}px`; + tip.style.top = `${top + window.pageYOffset}px`; } function hideSegTip() {