]> _ Git - fluidbook_tools.git/commitdiff
wait #6511 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 Nov 2023 09:25:16 +0000 (10:25 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 Nov 2023 09:25:16 +0000 (10:25 +0100)
src/Links/Link.php
src/Links/PhoneLink.php

index d6a81735f7e1324a0cc977db2f30356dae3783c7..93bba02132353b3a8945f565a4ba9983ec529c59 100644 (file)
@@ -123,6 +123,7 @@ class Link
     public $tooltipBackgroundColor = null;
     public $transition;
     public $polygon = '';
+    public $cursor = '';
     protected $role = 'button';
 
     protected $_init;
@@ -715,9 +716,11 @@ class Link
         $css .= $this->getCSSZIndex();
         $css .= $this->getCSSTransform();
         $css .= $this->getCSSClipPath();
-
         $css .= $this->getCSS();
         $css .= '}';
+        if ($this->cursor) {
+            $css .= '#l_' . $this->id . ' a{cursor:' . $this->cursor . ' !important;}';
+        }
         return $css;
     }
 
index 773405664d4256ce81713776954cc73867e2e2ce..16064fcad25ae2502d7adccca84b81ef116f5a9d 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Fluidbook\Tools\Links;
 
-class PhoneLink extends mailLink
+class PhoneLink extends MailLink
 {
     protected $role = 'link';