]> _ Git - fluidbook_tools.git/commitdiff
wip #5084 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 17 Feb 2022 08:45:03 +0000 (09:45 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 17 Feb 2022 08:45:03 +0000 (09:45 +0100)
src/Links/LayerLink.php

index ded0bf2df92206ac4e757d03996cc36b02463784..d9758b6dbd8f4fbca3685b6f13257585f4093d70 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Fluidbook\Tools\Links;
 
-class LayerLink extends imageLink
+class LayerLink extends ImageLink
 {
     protected $maxzoom_default = 4;
     public $defaultZIndex = 31;
@@ -11,7 +11,7 @@ class LayerLink extends imageLink
     {
         $attributes = $this->getZoomAttributes();
         if (!$this->rightClone) {
-            zoomLink::generateImage($attributes, $this->compiler, 'layerlink', 'layer');
+            ZoomLink::generateImage($attributes, $this->compiler, 'layerlink', 'layer');
         }
         return 'background-image:url(' . $this->getImageUrl() . ');background-size:' . $this->getBackgroundSize() . ';background-position:' . $this->getBackgroundPosition() . ';background-repeat:no-repeat;';
     }