mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-17 04:41:14 +08:00
-修复前面引入的非100%缩放时书签跳转定位错误的错误
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user