-修复前面引入的非100%缩放时书签跳转定位错误的错误

This commit is contained in:
WMJ
2026-10-12 16:40:01 +08:00
parent 49a04400fb
commit e58a26e22c
+1 -1
View File
@@ -1220,7 +1220,7 @@ internal sealed class ViewerControl : ImageBoxEx
var z = GetZoomFactorForPage(bound);
ScrollTo(
(position.PageX == 0 && !h) ? HorizontalScroll.Value : (px * z).ToInt32() + op.X,
(position.PageY == 0 && h) ? VerticalScroll.Value : (position.Location.Y == 0 ? 0 : (py * z).ToInt32()) + op.Y
(position.PageY == 0 && h) ? VerticalScroll.Value : (position.Location.Y == 0 ? 0 : (py * z).ToInt32()) + op.Y + __pageMargin
);
}