]> _ Git - fluidbook_tools.git/commitdiff
wait #6705 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 1 Feb 2024 15:21:28 +0000 (16:21 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 1 Feb 2024 15:21:28 +0000 (16:21 +0100)
src/Links/Link.php

index dda4ad7aecfa4992ffd3c3337b17545393232c62..98e33421939e0cd3409bb90bf3fd0d29ec0d841f 100644 (file)
@@ -716,6 +716,9 @@ class Link
 
     public function moveOnEvenPage()
     {
+        if ($this->page % 2 === 0 && $this->left < $this->compiler->getWidthForLinks()) {
+            return false;
+        }
         return $this->attachLeft;
     }