]> _ Git - fluidbook-html5.git/commitdiff
fix #3147 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Dec 2019 17:30:18 +0000 (18:30 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Dec 2019 17:30:18 +0000 (18:30 +0100)
js/libs/fluidbook/links/fluidbook.links.zoom.js

index 5bdcbd75246f34831f534235146c45e24a422abe..be8deec05da763ebc770cd2cd36f89771df05f93 100644 (file)
@@ -78,7 +78,10 @@ FluidbookLinksZoom.prototype = {
             // Find other zones in the same group
             var $others = $('.zoom-group-' + $link.data('group')).not('#' + $link.attr('id'));
 
+
             if ($others.length >= 1) {
+                availableHeight -= 50;
+                availableWidth -= 50;
                 links.push($others.first()); // Take the first because we only support 1 linked zone currently
             }
         }