From 371cb3efdccb4ab6e2f08bf890fbf5aad76d2294 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 4 Apr 2020 11:32:04 -0400 Subject: [PATCH] fix error made during migration to zoom ratio --- app/src/main/assets/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/assets/viewer.js b/app/src/main/assets/viewer.js index f38c686..fcfe366 100644 --- a/app/src/main/assets/viewer.js +++ b/app/src/main/assets/viewer.js @@ -171,7 +171,7 @@ function renderPage(pageNumber, zoom, prerender, prerenderTrigger=0) { function onRenderPage(zoom) { if (pageRendering) { - if (newPageNumber === channel.getPage() && getZoomRatio === channel.getZoomRatio() && + if (newPageNumber === channel.getPage() && newZoomRatio === channel.getZoomRatio() && orientationDegrees === channel.getDocumentOrientationDegrees()) { useRender = true; return;