From: vincent@cubedesigners.com Date: Mon, 21 Feb 2022 17:19:06 +0000 (+0000) Subject: wait #5087 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c57402f07ea0be7031ace727cdb537e28c9e81d8;p=cubeextranet.git wait #5087 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index dcd06052f..fae2cf356 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1046,6 +1046,7 @@ class contentLink extends wsHTML5Link public $defaultZIndex = 30; public $allowsAnimation = true; public $interactive = false; + public $forceTexture = false; public function getHTMLContainerClass() { @@ -1093,6 +1094,9 @@ class contentLink extends wsHTML5Link $res .= ' data-animation-hide-on-leave '; } } + if ($this->forceTexture && $this->getDepth() >= 40) { + $res .= ' data-force-texture="1" '; + } return $res; } @@ -2191,12 +2195,13 @@ class flipcardLink extends imageLink { public $interactive = true; public $defaultZIndex = 70; + public $forceTexture = true; public function getHTMLContent() { $this->copyExternalFile($this->to); $this->copyExternalFile($this->alternative); - $res='getTooltipAttribute().'>'; + $res = 'getTooltipAttribute() . '>'; $res .= '
'; $res .= '
'; $res .= '
';