From: Vincent Vanwaelscappel Date: Thu, 30 Sep 2021 15:40:07 +0000 (+0200) Subject: wait #4724 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cbdfcebe5fe0356246e0a5a24e792f5a9698606c;p=fluidbook-html5.git wait #4724 @0.75 --- diff --git a/js/libs/fluidbook/fluidbook.loader.js b/js/libs/fluidbook/fluidbook.loader.js index 1a9005f4..d933d250 100644 --- a/js/libs/fluidbook/fluidbook.loader.js +++ b/js/libs/fluidbook/fluidbook.loader.js @@ -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); });