From 15cdce79827ef6b1e4c559d7a07c2d028b8df2cf Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 7 Jul 2023 17:24:30 +0200 Subject: [PATCH] wait #6116 @0.5 --- src/Links/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Links/Link.php b/src/Links/Link.php index 0812e3a..007f86e 100644 --- a/src/Links/Link.php +++ b/src/Links/Link.php @@ -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() { -- 2.39.5