]> _ Git - fluidbook-html5.git/commitdiff
wait #5322 @0:15
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Jun 2022 14:19:31 +0000 (16:19 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Jun 2022 14:19:31 +0000 (16:19 +0200)
js/libs/fluidbook/fluidbook.links.js

index 70e94df773a53efad3757e3dd65ddb329a3a5d18..ea054ebd2a58d30bfc7b414cfe96ad92c0cbd873 100644 (file)
@@ -696,6 +696,9 @@ FluidbookLinks.prototype = {
         if (animation.scale && ['scale', 'scalefrom', 'zoomin', 'zoomout'].indexOf(animation.type) === -1) {
             css.transform = 'scale(' + animation.scale + ')';
         }
+        if (animation.scale && ['scale', 'scalefrom', 'zoomin', 'zoomout'].indexOf(animation.type) === -1) {
+            css.transformOrigin = animation.transformorigin;
+        }
         if (animation.letterspacing) {
             css.letterspacing = parseFloat(animation.letterspacing);
         }