]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6756
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 29 Feb 2024 10:18:14 +0000 (11:18 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 29 Feb 2024 10:18:14 +0000 (11:18 +0100)
app/Fluidbook/Compiler/Compiler.php

index a38f839060b5376e812e35f82b6fab900ed9d39f..595ed20fd96aba08e5b343ddaa4664dc05f30b3a 100644 (file)
@@ -1774,10 +1774,6 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError
         // General theme
         $cssWidth = $this->cssWidth;
         $cssHeight = $this->cssHeight;
-        if($this->isOnePage() && !$this->isMobileFirst() && $this->fluidbookSettings->fixAirPixel){
-            $cssWidth-=2;
-            $cssHeight-=2;
-        }
         $cssScale = $this->cssScale;
         $w2 = ($cssWidth * 2) . 'px';
         $h = $cssHeight . 'px';