]> _ Git - fluidbook-html5.git/commitdiff
wait #4777 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Oct 2021 13:13:43 +0000 (15:13 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Oct 2021 13:13:43 +0000 (15:13 +0200)
js/libs/fluidbook/fluidbook.loader.js

index 54084d64147efe78b74dde4c802bd04c87581b62..1d173118b31c40b37a020532dc4cc20fe77c6675 100644 (file)
@@ -800,7 +800,7 @@ FluidbookLoader.prototype = {
         dest.width = source.width;
         dest.height = source.height;
 
-        $(dest).addClass('thick').addClass('p').attr('data-page', $(source).attr('data-page'));
+        $(dest).addClass('thick').addClass('p').attr('data-page', $(source).attr('data-page')).css('transform', $(source).css('transform'));
 
         //apply the old canvas to the new one
         context.drawImage(source, 0, 0);