minor style fixes
This commit is contained in:
parent
e509660d7e
commit
db025d7851
@ -350,7 +350,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
|
|||||||
|
|
||||||
private void zoomIn() {
|
private void zoomIn() {
|
||||||
if (mZoomRatio < MAX_ZOOM_RATIO) {
|
if (mZoomRatio < MAX_ZOOM_RATIO) {
|
||||||
mZoomRatio+=0.25f;
|
mZoomRatio += 0.25f;
|
||||||
renderPage(true);
|
renderPage(true);
|
||||||
invalidateOptionsMenu();
|
invalidateOptionsMenu();
|
||||||
}
|
}
|
||||||
@ -358,7 +358,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
|
|||||||
|
|
||||||
private void zoomOut() {
|
private void zoomOut() {
|
||||||
if (mZoomRatio > MIN_ZOOM_RATIO) {
|
if (mZoomRatio > MIN_ZOOM_RATIO) {
|
||||||
mZoomRatio-=0.25f;
|
mZoomRatio -= 0.25f;
|
||||||
renderPage(true);
|
renderPage(true);
|
||||||
invalidateOptionsMenu();
|
invalidateOptionsMenu();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user