From 44ced84d5e58a16c2c9d106893d828c0c92b0ca3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 13 Oct 2021 15:13:43 +0200 Subject: [PATCH] wait #4777 @0.25 --- js/libs/fluidbook/fluidbook.loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/libs/fluidbook/fluidbook.loader.js b/js/libs/fluidbook/fluidbook.loader.js index 54084d64..1d173118 100644 --- a/js/libs/fluidbook/fluidbook.loader.js +++ b/js/libs/fluidbook/fluidbook.loader.js @@ -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); -- 2.39.5