]> _ Git - cubeextranet.git/commitdiff
wait #2541 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 23 Jan 2019 17:29:07 +0000 (17:29 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 23 Jan 2019 17:29:07 +0000 (17:29 +0000)
inc/ws/Util/html5/3dflip/class.ws.html5.compiler.php

index 79139d789b67bf87c737281b3136fc69e78b5e41..444b9eea052b3fa5f6ccbcfb74c069f0ae5e6538 100644 (file)
@@ -1608,13 +1608,6 @@ class wsHTML5Compiler
 
 
                $left = $w;
-               $centerOffset = 0;
-               if ($this->book->parametres->correctCenter) {
-                       $centerOffset = 3;
-                       $left = ($cssWidth - $centerOffset) . 'px';
-                       $res[] = '.doublePage._3d .page.left{left:-' . ($centerOffset + 1) . 'px !important;}';
-               }
-               $lessVariables['correct-center'] = ($centerOffset * -1);
 
                $res[] = '.doublePage._3d{left:' . $left . ';}';
                $res[] = '#links.right{left:-' . $left . ';}';