]> _ Git - fluidbook_tools.git/commitdiff
wait #6116 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Jul 2023 15:24:30 +0000 (17:24 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Jul 2023 15:24:30 +0000 (17:24 +0200)
src/Links/Link.php

index 0812e3abfe5a49fc2fcca59bff3608ab29a30d69..007f86e68222ece2d12a7f9889d301f56941d089 100644 (file)
@@ -702,7 +702,7 @@ class Link {
     }
 
     public function isOutsidePage() {
-        return $this->top > $this->compiler->getHeight() || $this->left > $this->compiler->getWidth();
+        return $this->top > $this->compiler->getHeightForLinks($this->page) || $this->left > $this->compiler->getWidthForLinks($this->page);
     }
 
     public function ignore() {