pdfvuer icon indicating copy to clipboard operation
pdfvuer copied to clipboard

Scale doesn't seem to work with resize

Open keeganwitt opened this issue 5 years ago • 1 comments

Using the scale code from the advanced example, but adding the resize prop seems to break scaling. It seems to reset the scale back (via sync) and re-render the PDF again.

keeganwitt avatar Feb 12 '20 00:02 keeganwitt

change the the source code,but u should compute the scale by your self.

      resizeScale: function () {
        if (this.resize) {
         // this.drawScaled('page-width');
             this.drawScaled(this.scale');
        }
      }

adndyxu avatar Jul 03 '20 14:07 adndyxu