]> _ Git - cubeextranet.git/commitdiff
wait #4762
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 7 Oct 2021 09:34:34 +0000 (09:34 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 7 Oct 2021 09:34:34 +0000 (09:34 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index d1db5adcbf8a4d870b94b8fcbaac9afa8df7f68e..fbe1160ce5561d9e5534c7b26d23f8df0eea33bc 100644 (file)
@@ -395,6 +395,7 @@ class wsHTML5Compiler
         $this->config->htmlmultimedia = $this->htmlmultimedia;
         $this->config->phonegap = $this->phonegap;
         $this->config->retinaResolution = min($this->book->parametres->maxResolution, $this->maxRes);
+        $this->config->standardResolution = min($this->book->parametres->maxResolution, 150);
         $this->config->pageLabels = $this->pageLabels;
         $this->config->pageZoomFactor = $this->z;
         $this->config->multiply = $this->multiply;
@@ -2444,9 +2445,6 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
 
         $corrText = $this->isMobileFirst() ? 0 : 4;
         $this->log('CSS 3');
-//        $texts = '.texts{width:' . floor(floatval($w) + $corrText) . 'px;height:' . floor(floatval($h) + $corrText) . 'px;}';
-//
-//        $res[] = $texts;
 
         // Theme
         $shade = '.page .shade{';
@@ -2752,7 +2750,6 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
                     }';
         } else {
             $body .= '#background {
-                        transition: 500ms opacity;
                         visibility: hidden;
                         opacity: 0;
                         background-color:' . wsHTML5::colorToCSS($this->theme->parametres->backgroundColor) . ' !important;