Skip to content
This repository was archived by the owner on Jul 26, 2021. It is now read-only.

Commit e8015e7

Browse files
authored
Merge pull request #31 from groupdocs-annotation/fix-load-page
fixed loading page
2 parents 82a3bce + fd7adeb commit e8015e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/groupdocs/ui/annotation/resources/AnnotationResources.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public AnnotationPageDescriptionEntity loadDocumentPage(LoadDocumentPageRequest
265265
DocumentInfoContainer documentDescription = annotationImageHandler.getDocumentInfo(fileName, password);
266266
PageData pageData = documentDescription.getPages().get(pageNumber - 1);
267267

268-
AnnotationPageDescriptionEntity page = getAnnotationPageDescriptionEntity(pageData, images.get(pageNumber - 1));
268+
AnnotationPageDescriptionEntity page = getAnnotationPageDescriptionEntity(pageData, images.get(0));
269269

270270
// return loaded page object
271271
return page;

0 commit comments

Comments
 (0)