From 0c22599925675b61d5141811e8dcd9c66b458367 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 29 Sep 2017 10:52:51 +0000 Subject: [PATCH] wip #1704 @2 --- inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php b/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php index 678bdd194..171ed99df 100644 --- a/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/bookedges/class.ws.html5.compiler.php @@ -1008,7 +1008,7 @@ class wsHTML5Compiler { 'nav-zoomin' => $couleurI, 'nav-zoomout' => $couleurI, 'nav-fullscreen' => $couleurI, 'interface-next' => $arrowsColor, 'interface-previous' => $arrowsColor, 'interface-sharp-next' => $arrowsColor, 'interface-sharp-previous' => $arrowsColor, - 'interface-search' => $couleurI, 'interface-back-arrow' => $subTextColor, 'interface-print' => $subTextColor, + 'interface-search' => $couleurI, 'interface-down' => $arrowsColor, 'interface-close' => $arrowsColor, 'interface-audio-description-on' => $arrowsColor, 'interface-audio-description-off' => $arrowsColor, 'help-fingers' => $couleurI, 'help-mouse' => $couleurI, 'nav-home' => $couleurI, 'nav-archives' => $couleurI, 'nav-map' => $couleurI, @@ -1020,13 +1020,13 @@ class wsHTML5Compiler { $this->config->iconsDimensions = array(); $makepng = !$this->supportSVG(); + $tmpdir = CubeIT_Files::tmpdir(); foreach ($icons as $icon => $color) { - $tmpdir = CubeIT_Files::tmpdir(); wsTools::colorizeAndRasterizeIcon($this->theme->parametres->iconSet, $icon, $color, $tmpdir, 4, $w, $h); - $this->vdir->copyDirectory($tmpdir, 'data/images'); - $this->vdir->addTemp($tmpdir); $this->config->iconsDimensions[$icon] = array($w, $h); } + $this->vdir->copyDirectory($tmpdir, 'data/images'); + $this->vdir->addTemp($tmpdir); return $res; } -- 2.39.5