]> _ Git - fluidbook_tools.git/commitdiff
wip #7704
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 26 Aug 2025 13:53:40 +0000 (15:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 26 Aug 2025 13:53:40 +0000 (15:53 +0200)
src/Links/LayerLink.php

index 3d3ed9d9d2525379de1ff32505cb6ce65049ee6c..be64ef8fda3d4e8454ea90233fc2e95bf37d7f61 100644 (file)
@@ -20,7 +20,7 @@ class LayerLink extends ImageLink
             $this->defaultZIndex++;
         }
         if ($init['to'] === 'text' && $compiler->config->transparentPage) {
-            $this->compiler->addMask('texts', $init['page'], ['x' => $init['left'], 'y' => $init['top'], 'width' => $init['width'], 'height' => $init['height']]);
+            $compiler->addMask('texts', $init['page'], ['x' => $init['left'], 'y' => $init['top'], 'width' => $init['width'], 'height' => $init['height']]);
         }
         parent::__construct($id, $init, $compiler);
     }