From d0e01854c3063f7dc89815c5890fd8d4c62705b3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 29 Feb 2024 11:18:14 +0100 Subject: [PATCH] wip #6756 --- app/Fluidbook/Compiler/Compiler.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index a38f83906..595ed20fd 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -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'; -- 2.39.5