]> _ Git - cubeextranet.git/commitdiff
wip #5088 @0.75
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 11 Feb 2022 16:37:50 +0000 (16:37 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 11 Feb 2022 16:37:50 +0000 (16:37 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php
inc/ws/Util/html5/master/class.ws.html5.links.php

index 5f499dfed860c76af866a490b96029fa66b3d162..9083ffd618bedee24fe356aa1e86bd98a15e6a1c 100644 (file)
@@ -2167,6 +2167,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
                     $ctpages[$lta->page] = ['normal' => []];
                 }
 
+
                 $d = $lta->getDepth();
                 if ($d < 30) {
                     $v = 'ctpages';
index 3f6b5c87528cc45057c73a254e78fde09550f6d0..f979a5c952c6584edd840d799c1c3895923cc472 100644 (file)
@@ -1061,7 +1061,11 @@ class contentLink extends wsHTML5Link
                     unset($animation['blendmode']);
                 }
                 if (isset($animation['zindex'])) {
-                    $this->zindex = $animation['zindex'];
+                    if ($animation['zindex'] >= 10) {
+                        $this->zindex = $animation['zindex'];
+                    } else {
+                        $this->zindex += $animation['zindex'];
+                    }
                 }
                 if (isset($animation['addzindex'])) {
                     $this->addzindex = $animation['addzindex'];