fix error made during migration to zoom ratio

This commit is contained in:
Daniel Micay 2020-04-04 11:32:04 -04:00
parent e98398749e
commit 371cb3efdc

View File

@ -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;