|
@@ -1063,9 +1063,9 @@ namespace PDF_Master.ViewModels.PropertyPanel.AnnotPanel
|
|
|
{
|
|
|
pdfViewer.GoToPage(historyPageIndex);
|
|
|
//SelectAnnotation();
|
|
|
- pdfViewer.SelectAnnotation(LinkAnnotArgs.PageIndex, LinkAnnotArgs.AnnotIndex);
|
|
|
- BackToPage(historyPageIndex, pageIndex);
|
|
|
|
|
|
+ BackToPage(historyPageIndex, pageIndex);
|
|
|
+ //pdfViewer.SelectAnnotation(LinkAnnotArgs.PageIndex, LinkAnnotArgs.AnnotIndex);
|
|
|
ChangeBtnGOorBack("GO", btnGOorBack);
|
|
|
//pdfViewer.SelectAnnotation(historyPageIndex, LinkAnnotArgs.AnnotIndex);
|
|
|
}
|
|
@@ -1096,7 +1096,7 @@ namespace PDF_Master.ViewModels.PropertyPanel.AnnotPanel
|
|
|
if (historyPageIndex < pageIndex)
|
|
|
{
|
|
|
//height = vertical + (rect.Bottom * zoom);
|
|
|
- height = vertical + (paintrect.Top * zoom);
|
|
|
+ height = vertical + (rect.Top * zoom);
|
|
|
pdfViewer.ScrollToVerticalOffset(height);
|
|
|
}
|
|
|
else
|