From: Vincent Vanwaelscappel Date: Tue, 10 Feb 2026 16:31:18 +0000 (+0100) Subject: wait #7997 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=108fe47de77c528f5cee045353c454b8680315f4;p=fluidbook-toolbox.git wait #7997 @0.25 --- diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index 21321d23c..53b7f30c5 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -554,7 +554,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError $this->numerotation = $this->config->numerotation = explode(',', $this->getFluidbook()->page_numbers); $this->config->dynamicBackgroundColor = []; $this->config->masks = []; - $this->config->linksScale=$this->linkScale; + $this->config->linksScale = $this->linkScale; $this->initTabsConfig(); $this->config->triggersLinks = []; @@ -1656,6 +1656,10 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError $reminimize = true; } + if (rand(1, 10) == 5) { + $reminimize = true; + } + if (!$reminimize) { foreach ($files as $file) { $f = $this->assets . '/' . $file;