]> _ Git - fluidbook-html5.git/commitdiff
wait #4724 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 30 Sep 2021 15:40:07 +0000 (17:40 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 30 Sep 2021 15:40:07 +0000 (17:40 +0200)
js/libs/fluidbook/fluidbook.loader.js

index 1a9005f490b5befe283a1d40e42f39cb31bd847a..d933d250c9696f909d1a9556e8a7ccbfb22271a9 100644 (file)
@@ -767,7 +767,7 @@ FluidbookLoader.prototype = {
                     $this._preloadPage(page, callback);
                     return;
                 }
-                ctx.drawImage(img, 0, 0, img.width * 0.998, img.height * 0.998, 0, 0, cw, ch);
+                ctx.drawImage(img, 0, 0, img.width - 2, img.height - 2, 0, 0, cw, ch);
             }
             $(this).data('w', cw).data('h', ch);
         });