]> _ Git - fluidbook-html5.git/commitdiff
wip #6961 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Jul 2024 17:43:26 +0000 (19:43 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 29 Jul 2024 17:43:26 +0000 (19:43 +0200)
js/libs/fluidbook/fluidbook.links.animations.js

index 758f55468dcd9ef7cdbef933d1d5f15e7331bfb2..8d78f4c75db0c527ae057bf1fcf0a23ebf82c0a4 100644 (file)
@@ -58,6 +58,10 @@ FluidbookLinksAnimations.prototype = {
             x: 0, y: 0, yoyo: 0, repeatdelay: 0, repeat: 0, transformorigin: '50% 50%', preventflickering: 0
         };
 
+        if ($(linkElement).hasClass('textLink')) {
+            globalDefault.transformorigin = '0 100%';
+        }
+
         var w = parseFloat(link.css('width'));
         var cx = w / 2;
         var h = parseFloat(link.css('height'));