From 65280b01643d0fa6734a7bd8ad307972a21621f8 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 11 Feb 2022 16:37:50 +0000 Subject: [PATCH] wip #5088 @0.75 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 1 + inc/ws/Util/html5/master/class.ws.html5.links.php | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 5f499dfed..9083ffd61 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2167,6 +2167,7 @@ height="0" width="0" style="display:none;visibility:hidden"> $ctpages[$lta->page] = ['normal' => []]; } + $d = $lta->getDepth(); if ($d < 30) { $v = 'ctpages'; 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 3f6b5c875..f979a5c95 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -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']; -- 2.39.5