Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12f1745

Browse files
committed
Reformat code
1 parent a372a8b commit 12f1745

File tree

1 file changed

+3
-2
lines changed
  • android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer

1 file changed

+3
-2
lines changed

android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/PDFView.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,9 +1019,10 @@ ScrollDir getScrollDir() {
10191019
}
10201020

10211021
void loadPageByOffset() {
1022-
if(0 == getPageCount()){
1023-
return ;
1022+
if (0 == getPageCount()) {
1023+
return;
10241024
}
1025+
10251026
float offset, optimal, screenCenter;
10261027
float spacingPerPage = spacingPx - (spacingPx / getPageCount());
10271028
if (swipeVertical) {

0 commit comments

Comments
 (0)