diff --git a/web/pdf_page_view.js b/web/pdf_page_view.js index 49a41dcde..03053741a 100644 --- a/web/pdf_page_view.js +++ b/web/pdf_page_view.js @@ -759,10 +759,7 @@ class PDFPageView { scaleX = height / width; scaleY = width / height; } - - if (absRotation !== 0) { - target.style.transform = `rotate(${relativeRotation}deg) scale(${scaleX}, ${scaleY})`; - } + target.style.transform = `rotate(${relativeRotation}deg) scale(${scaleX}, ${scaleY})`; } if (redrawAnnotationLayer && this.annotationLayer) {